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

Add default rpc address configuration option as CONSUL_RPC_ADDR env vari... #542

Merged
merged 1 commit into from
Dec 17, 2014

Conversation

lalyos
Copy link
Contributor

@lalyos lalyos commented Dec 15, 2014

...able

Similar as in serf: hashicorp/serf#210

@ryanuber
Copy link
Member

LGTM! Maybe we can add a small test for the RPC address if the env var is set. Otherwise this looks merge-ready.

@JeanMertz
Copy link

Only a couple of hours after my initial request. Awesome! 👍

A test would definitely be a good idea, given the current Travis failure:

command/rpc.go:12: undefined: os

@lalyos lalyos force-pushed the add-rpc-addr-env-var branch from a718085 to 94b93e0 Compare December 15, 2014 21:06
@lalyos lalyos force-pushed the add-rpc-addr-env-var branch from 94b93e0 to 89f271a Compare December 16, 2014 11:19
@lalyos
Copy link
Contributor Author

lalyos commented Dec 16, 2014

@ryanuber tests are added.

@lalyos
Copy link
Contributor Author

lalyos commented Dec 16, 2014

Its funny to see that 4 lines of added code, influences 9 docs file changes and get tested by 60 lines of code ;)

@ryanuber
Copy link
Member

@lalyos great tests! Thanks for filling those in. Merging on in.

ryanuber added a commit that referenced this pull request Dec 17, 2014
Add default rpc address configuration option as CONSUL_RPC_ADDR env vari...
@ryanuber ryanuber merged commit 697c2dd into hashicorp:master Dec 17, 2014
mikedougherty added a commit to mikedougherty/consulate that referenced this pull request Jun 18, 2015
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.

3 participants