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