Fix#228 update default metadata url#230
Conversation
Codecov Report
@@ Coverage Diff @@
## master #230 +/- ##
=========================================
Coverage ? 78.26%
Complexity ? 329
=========================================
Files ? 21
Lines ? 1445
Branches ? 158
=========================================
Hits ? 1131
Misses ? 236
Partials ? 78
Continue to review full report at Codecov.
|
|
|
||
| // Note: the explicit IP address is used to avoid name server resolution issues. | ||
| static final String DEFAULT_METADATA_SERVER_URL = "http://169.254.169.254"; | ||
| static final String DEFAULT_METADATA_SERVER_URL = "http://metadata.google.internal"; |
There was a problem hiding this comment.
Please use metadata.google.internal. with the . at the end. We need that to solve a nasty problem in docker related to that problem.
There was a problem hiding this comment.
We had this issue #4269 and its fixed with http://metadata.google.internal for GKE and GCE both.
Fixes #228