-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate project-id returned from metadata server (#2822)
* Validate project-id returned from metadata server to handle cases in which a descriptive failure html page is returned instead of the projectid itself from server when projects are not running in google cloud machines. * update comments * Validate project-id returned from metadata server to handle cases in which a descriptive failure html page is returned instead of the projectid itself from server when projects are not running in google cloud machines. * update comments * fix code review problems * Fix code review problems * fix code review problems * fix useless parentheses
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters