lib/facter/resolvers/gce.rb in facter-4.0.46 vs lib/facter/resolvers/gce.rb in facter-4.0.47
- 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(Utils::Http.get_request(METADATA_URL, HEADERS))
+ gce_data = extract_to_hash(Facter::Util::Resolvers::Http.get_request(METADATA_URL, HEADERS))
parse_instance(gce_data)
gce_data.empty? ? nil : gce_data
end