Skip to content

Commit e2b3c98

Browse files
docs: Fix formatting of GCE_METADATA_HOST (#890)
* Clean docs up * Update google/auth/environment_vars.py Co-authored-by: arithmetic1728 <[email protected]>
1 parent a4cf9b1 commit e2b3c98

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

google/auth/environment_vars.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@
4141
# These two variables allow for customization of the addresses used when
4242
# contacting the GCE metadata service.
4343
GCE_METADATA_HOST = "GCE_METADATA_HOST"
44-
GCE_METADATA_ROOT = "GCE_METADATA_ROOT"
4544
"""Environment variable providing an alternate hostname or host:port to be
4645
used for GCE metadata requests.
4746
48-
This environment variable is originally named GCE_METADATA_ROOT. System will
49-
check the new variable first; should there be no value present,
50-
the system falls back to the old variable.
47+
This environment variable was originally named GCE_METADATA_ROOT. The system will
48+
check this environemnt variable first; should there be no value present,
49+
the system will fall back to the old variable.
5150
"""
5251

52+
GCE_METADATA_ROOT = "GCE_METADATA_ROOT"
53+
"""Old environment variable for GCE_METADATA_HOST."""
54+
5355
GCE_METADATA_IP = "GCE_METADATA_IP"
5456
"""Environment variable providing an alternate ip:port to be used for ip-only
5557
GCE metadata requests."""

0 commit comments

Comments
 (0)