exe/conoharant in conoha-0.9.3 vs exe/conoharant in conoha-0.9.4
- old
+ new
@@ -240,9 +240,12 @@
server_id = status['id']
ipaddress = ipv4(Conoha.ip_address_of(server_id))
command = "sftp #{ipaddress}"
puts command
system command
+when 'ipaddress'
+ server_id = status['id']
+ puts ipv4(Conoha.ip_address_of(server_id))
else
STDERR.puts 'Invalid argument.'
exit 1
end