Skip to content

Commit f5e4b1a

Browse files
rsalmondtseaver
authored andcommitted
Use FQDN for GCE metadata endpoint. (#7520)
Closes #7517.
1 parent dbc094b commit f5e4b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/logging/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from google.cloud.logging.entries import StructEntry
2222
from google.cloud.logging.entries import TextEntry
2323

24-
METADATA_URL = "http://metadata/computeMetadata/v1/"
24+
METADATA_URL = "http://metadata.google.internal./computeMetadata/v1/"
2525
METADATA_HEADERS = {"Metadata-Flavor": "Google"}
2626

2727

0 commit comments

Comments
 (0)