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 a config option to disable writing keyring to a file #472

Merged
merged 2 commits into from
Jun 14, 2017

Conversation

kyhavlov
Copy link
Contributor

@kyhavlov kyhavlov requested a review from slackpad June 13, 2017 22:28
serf/config.go Outdated
@@ -222,6 +222,10 @@ type Config struct {
// persist changes to the encryption keyring.
KeyringFile string

// DisableKeyringFile prevents serf from writing keyring data to the
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we use an empty KeyringFile name to indicate that this is disabled w/o a new config param?

Copy link
Contributor

@slackpad slackpad left a comment

Choose a reason for hiding this comment

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

LGTM

@kyhavlov kyhavlov merged commit 91fd53b into master Jun 14, 2017
@kyhavlov kyhavlov deleted the disable-keyring-file branch June 14, 2017 22:59
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