lib/facter/resolvers/gce.rb in facter-4.7.1 vs lib/facter/resolvers/gce.rb in facter-4.8.0

- old
+ new

@@ -20,10 +20,10 @@ @fact_list[:metadata] = query_for_metadata @fact_list[fact_name] end def query_for_metadata - gce_data = extract_to_hash(Facter::Util::Resolvers::Http.get_request(METADATA_URL, HEADERS, false)) + gce_data = extract_to_hash(Facter::Util::Resolvers::Http.get_request(METADATA_URL, HEADERS, {}, false)) parse_instance(gce_data) gce_data.empty? ? nil : gce_data end