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

disallow empty static node names #1765

Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Apr 16, 2015

Fixes #1751.

@liggitt

@@ -338,10 +338,13 @@ func (args MasterArgs) BuildSerializeableKubeMasterConfig() (*configapi.Kubernet
masterIP = ip.String()
}

staticNodeList := util.NewStringSet(args.NodeList...)
Copy link
Contributor

Choose a reason for hiding this comment

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

--nodes= resulting in [""] seems like a bug in util.StringList

@liggitt
Copy link
Contributor

liggitt commented Apr 16, 2015

nits, and I'd prefer an upstream fix in StringList, but LGETM (looks good enough to merge)

@deads2k deads2k force-pushed the deads-disallow-empty-node-names branch from 163d384 to 5789426 Compare April 16, 2015 13:45
@deads2k
Copy link
Contributor Author

deads2k commented Apr 16, 2015

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1587/) (Image: devenv-fedora_1286)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 5789426

openshift-bot pushed a commit that referenced this pull request Apr 16, 2015
@openshift-bot openshift-bot merged commit 199355c into openshift:master Apr 16, 2015
@deads2k deads2k deleted the deads-disallow-empty-node-names branch June 11, 2015 14:18
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.

--write-config produces node with empty name
3 participants