Skip to content
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

Changing use of PUBSUB_HOST env. var. to PUBSUB_EMULATOR_HOST. #1371

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Jan 8, 2016

Also changing how the variable is used. Now, pre-pending the protocol in front. (Assumes the user does something like localhost:8888.)

/cc @hbchai

@dhermes dhermes added the api: pubsub Issues related to the Pub/Sub API. label Jan 8, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 8, 2016
Also changing how the variable is used. Now, pre-pending the
protocol in front. (Assumes the user does something like
`localhost:8888`.)
if emulator_host is None:
api_base_url = self.__class__.API_BASE_URL
else:
api_base_url = 'http://' + emulator_host

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@tseaver
Copy link
Contributor

tseaver commented Jan 14, 2016

LGTM

dhermes added a commit that referenced this pull request Jan 14, 2016
Changing use of PUBSUB_HOST env. var. to PUBSUB_EMULATOR_HOST.
@dhermes dhermes merged commit 3a2a1c5 into googleapis:master Jan 14, 2016
@dhermes
Copy link
Contributor Author

dhermes commented Jan 14, 2016

@hbchai I also updated gcloud and confirmed that the new settings were present. Still need to test that it works though

@dhermes dhermes deleted the pubsub-emulator-host branch January 14, 2016 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. 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