diff --git a/lib/googleauth/compute_engine.rb b/lib/googleauth/compute_engine.rb index a3b0eb8..9ca243a 100644 --- a/lib/googleauth/compute_engine.rb +++ b/lib/googleauth/compute_engine.rb @@ -75,7 +75,6 @@ module Google req.options.timeout = 0.1 end return false unless resp.status == 200 - return false unless resp.headers.key? "Metadata-Flavor" resp.headers["Metadata-Flavor"] == "Google" rescue Faraday::TimeoutError, Faraday::ConnectionFailed false