Skip to content

Commit

Permalink
ST-352 Remove 'not nil' condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lopaka Delp committed May 11, 2015
1 parent a3b8a59 commit eccd0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/provider_rightscale_volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def attach_volume(volume_id, device)
sleep(1)
Chef::Log.info "Checking for added device."
added_device = (Set.new(get_current_devices) - current_devices).first
end until !added_device.nil?
end until added_device
end
added_device
end
Expand Down

0 comments on commit eccd0c3

Please sign in to comment.