class Chef::Knife::Cloud::GoogleServerShow

Public Instance Methods

validate_params!() click to toggle source
Calls superclass method
# File lib/chef/knife/google_server_show.rb, line 39
def validate_params!
  check_for_missing_config_values!(:gce_zone)
  raise "You must supply an instance name to display" if @name_args.empty?
  raise "You may only supply one instance name" if @name_args.size > 1

  super
end