lib/chef/knife/cloud/google_service_helpers.rb in knife-google-3.3.7 vs lib/chef/knife/cloud/google_service_helpers.rb in knife-google-4.1.0

- old
+ new

@@ -25,21 +25,21 @@ Chef::Knife::Cloud::GoogleService.new( project: locate_config_value(:gce_project), zone: locate_config_value(:gce_zone), wait_time: locate_config_value(:request_timeout), refresh_rate: locate_config_value(:request_refresh_rate), - max_pages: locate_config_value(:max_pages), - max_page_size: locate_config_value(:max_page_size) + max_pages: locate_config_value(:gce_max_pages), + max_page_size: locate_config_value(:gce_max_page_size) ) end def check_for_missing_config_values!(*keys) keys_to_check = REQUIRED_KEYS + keys missing = keys_to_check.select { |x| locate_config_value(x).nil? } unless missing.empty? - message = "The following required parameters are missing: #{missing.join(', ')}" + message = "The following required parameters are missing: #{missing.join(", ")}" ui.error(message) raise message end end