Skip to content

GCF SQL: Use proper environment variables #1703

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 4 commits into from
Sep 27, 2018
Merged

GCF SQL: Use proper environment variables #1703

merged 4 commits into from
Sep 27, 2018

Conversation

ace-n
Copy link

@ace-n ace-n commented Sep 12, 2018

(Missed a spot in #1655)

Replace SUPERVISOR_HOSTNAME with something more stable

@jasonpolites please review (and tell me if there's a better way)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 12, 2018
@ace-n
Copy link
Author

ace-n commented Sep 25, 2018

Spoke with @jasonpolites and @stew-r internally - we should ditch the env. var approach (except perhaps for Node, since NODE_ENV is idiomatic) and use a try/catch here.

@ace-n ace-n closed this Sep 26, 2018
@ace-n ace-n reopened this Sep 26, 2018
Change-Id: Ibe4d6ff8d6dc928bce8c62178d52e3c5485899be
Change-Id: Id5d50643012e2bb7f3f34cd1dc69c3385d62dc7f
Copy link
Contributor

@michaelawyu michaelawyu left a comment

Choose a reason for hiding this comment

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

LGTM :)

@ace-n ace-n merged commit c359be8 into master Sep 27, 2018
@ace-n ace-n deleted the sql-env-var branch September 27, 2018 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants