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

Disable Leader detection with a '*' #233

Merged
merged 1 commit into from
May 22, 2017
Merged

Disable Leader detection with a '*' #233

merged 1 commit into from
May 22, 2017

Conversation

guilhem
Copy link
Contributor

@guilhem guilhem commented May 19, 2017

This is useful if you always have only 1 instance running (think of marathon-consul as a marathon app ;) ) and marathon address is provided by consul DNS.

Do we missed something?

@tomez tomez self-requested a review May 19, 2017 12:13
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 87.302% when pulling 4a54200 on guilhem:noLeaderDetection into 64b04b0 on allegro:master.

README.md Outdated
@@ -215,7 +215,7 @@ marathon-protocol | `http` | Marathon protocol (http or https
marathon-ssl-verify | `true` | Verify certificates when connecting via SSL
marathon-timeout | `30s` | Time limit for requests made by the Marathon HTTP client. A Timeout of zero means no timeout
marathon-username | | Marathon username for basic auth
marathon-leader | | Marathon cluster-wide node name (defaults to <hostname>:8080), the some leader specific calls will be made only if the specified node is the current Marathon-leader")
marathon-leader | `<hostname>:8080` | Marathon cluster-wide node name, the some leader specific calls will be made only if the specified node is the current Marathon-leader. Set to `*` to always act like a Leader.
Copy link
Contributor

Choose a reason for hiding this comment

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

This part of readme is copied from config/config.go could you update description there too? We should make it autogenerated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops ok :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand why there is no value for "default"

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

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 87.302% when pulling be06b07 on guilhem:noLeaderDetection into 64b04b0 on allegro:master.

@janisz janisz merged commit 28d2ea6 into allegro:master May 22, 2017
@janisz
Copy link
Contributor

janisz commented May 22, 2017

@guilhem Thanks!

@guilhem guilhem deleted the noLeaderDetection branch May 22, 2017 12:29
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.

4 participants