Skip to content

Reading project ID from GOOGLE_CLOUD_PROJECT #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 29, 2018
Merged

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Jun 26, 2018

GCLOUD_PROJECT is no longer supported in some managed Google runtimes. GOOGLE_CLOUD_PROJECT is the new recommended environment variable.

@@ -242,7 +243,7 @@ def _lookup_project_id(cls, credential, options):
except AttributeError:
pass
if not pid:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm. in hindsight pid seems like an unfortunate name for project id. Can we change that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@hiranya911 hiranya911 assigned hiranya911 and unassigned bjornick Jun 29, 2018
@hiranya911 hiranya911 merged commit 14e5dc4 into master Jun 29, 2018
@hiranya911 hiranya911 deleted the hkj-gcloud-project branch June 29, 2018 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants