-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
don't allow profile name to be less than 2 characters #9367
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Travis tests have failedHey @medyagh, 1st Buildmake test
TravisBuddy Request Identifier: 10e88000-037d-11eb-b614-dd2b96524a99 |
Codecov Report
@@ Coverage Diff @@
## master #9367 +/- ##
=======================================
Coverage 29.35% 29.35%
=======================================
Files 170 170
Lines 10362 10362
=======================================
Hits 3042 3042
Misses 6896 6896
Partials 424 424
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just one comment
cmd/minikube/cmd/start.go
Outdated
@@ -155,7 +155,7 @@ func runStart(cmd *cobra.Command, args []string) { | |||
|
|||
if !config.ProfileNameValid(ClusterFlagValue()) { | |||
out.WarningT("Profile name '{{.name}}' is not valid", out.V{"name": ClusterFlagValue()}) | |||
exit.Message(reason.Usage, "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.") | |||
exit.Message(reason.Usage, "Only alphanumeric and dashes '-' are permitted. Minimum 2 character, starting with alphanumeric.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: minimum 2 character should be minimum 2 characters
closes #9366