lib/cloudstack-cli/commands/ip_address.rb in cloudstack-cli-1.2.3 vs lib/cloudstack-cli/commands/ip_address.rb in cloudstack-cli-1.2.4
- old
+ new
@@ -5,10 +5,10 @@
ids.each do |id|
say(" OK, released address with ID #{id}", :green) if client.disassociate_ip_address(id: id)
end
end
- desc "ip_address assign NETWORK", "assign a public IP address"
+ desc "assign NETWORK", "assign a public IP address"
option :project
def assign(network)
resolve_project
options[:name] = network
unless network = client.list_networks(options).first