Skip to content

Commit

Permalink
Remove unused code in provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
arangamani committed Apr 9, 2014
1 parent 7feb7d4 commit bed576a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/provider_rightscale_backup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ def load_current_resource

@api_client = initialize_api_client

# From the node, get the list of devices to which the volumes are attached
# TODO: We don't use this attribute anywhere at the moment. This attribute
# is intended to be used in the +:create+ action at some point later.
unless node['rightscale_backup'].empty?
@current_resource.devices(node['rightscale_backup'][@current_resource.nickname]['devices'])
end
@current_resource.timeout(@new_resource.timeout) if @new_resource.timeout
@current_resource
end
Expand Down

0 comments on commit bed576a

Please sign in to comment.