lib/kitchen/provisioner/nodes.rb in kitchen-nodes-0.6.4 vs lib/kitchen/provisioner/nodes.rb in kitchen-nodes-0.6.5
- old
+ new
@@ -130,10 +130,10 @@
# inject creds into state for legacy drivers
[:username, :password].each do |prop|
state[prop] = instance.driver[prop] if instance.driver[prop]
end
ips = Finder.for_transport(transport, state).find_ips
- fail 'Unable to retrieve IPs' if ips.empty?
+ raise 'Unable to retrieve IPs' if ips.empty?
ips
end
end
end
end