lib/kontena/machine/upcloud/node_restarter.rb in kontena-plugin-upcloud-0.2.5 vs lib/kontena/machine/upcloud/node_restarter.rb in kontena-plugin-upcloud-0.3.0

- old
+ new

@@ -24,11 +24,11 @@ end server = servers[:servers][:server].find{|s| s[:hostname] == name} if server - spinner "Restarting Upcloud node #{name.colorize(:cyan)} " do + spinner "Restarting UpCloud node #{name.colorize(:cyan)} " do result = post( "server/#{server[:uuid]}/restart", body: { restart_server: { stop_type: 'soft', timeout: 600, @@ -36,13 +36,12 @@ } }.to_json ) end else - abort "Cannot find node #{name.colorize(:cyan)} in Upcloud" + abort "Cannot find node #{name.colorize(:cyan)} in UpCloud" end end end end end end -