lib/magellan/cli/command.rb in magellan-cli-0.7.11 vs lib/magellan/cli/command.rb in magellan-cli-0.8.0

- old
+ new

@@ -119,10 +119,10 @@ end no_commands do def select_single_resources - %w[Organization Project ClientVersion Stage Worker Image].each do |class_name| + %w[Organization Project ClientVersion Stage Worker Image Cloudsql].each do |class_name| klass = Magellan::Cli::Resources.const_get(class_name) cmd = klass.new res = cmd.send(:query_list) if res.length == 1 value = res.first[klass.caption_attr]