gcp-metadata
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -114,3 +114,5 @@ "use strict"; | ||
else if (err.code && | ||
(err.code === 'ENOTFOUND' || err.code === 'ENOENT')) { | ||
(err.code === 'ENOTFOUND' || | ||
err.code === 'ENOENT' || | ||
err.code === 'ENETUNREACH')) { | ||
// Failure to resolve the metadata service means that it is not available. | ||
@@ -117,0 +119,0 @@ return false; |
@@ -7,2 +7,9 @@ # Changelog | ||
## [3.1.0](https://www.github.com/googleapis/gcp-metadata/compare/v3.0.0...v3.1.0) (2019-10-07) | ||
### Features | ||
* don't throw on ENETUNREACH ([#250](https://www.github.com/googleapis/gcp-metadata/issues/250)) ([88f2101](https://www.github.com/googleapis/gcp-metadata/commit/88f2101)) | ||
## [3.0.0](https://www.github.com/googleapis/gcp-metadata/compare/v2.0.4...v3.0.0) (2019-09-17) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gcp-metadata", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Get the metadata from a Google Cloud Platform environment", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/gcp-metadata", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38454
155