lib/brightbox-cli/cloud_ips.rb in brightbox-cli-3.0.0 vs lib/brightbox-cli/cloud_ips.rb in brightbox-cli-3.0.1
- old
+ new
@@ -73,10 +73,10 @@
if options[:"delete-reverse-dns"]
params[:reverse_dns] = ""
end
- if options[:n] && !options[:name].empty?
+ if options[:n] && !options[:n].nil?
params[:name] = options[:n]
end
if options[:t]
params[:port_translators] = CloudIP.format_translators_for_api(options[:t])