lib/command/maintenance_off.rb in cpl-1.4.0 vs lib/command/maintenance_off.rb in cpl-2.2.0
- old
+ new
@@ -46,10 +46,10 @@
# Switch domain workload
step("Switching workload for domain '#{domain}' to '#{one_off_workload}'") do
cp.set_domain_workload(domain_data, one_off_workload)
# Give it a bit of time for the domain to update
- sleep 30
+ Kernel.sleep(30)
end
progress.puts
# Stop maintenance workload