-
Notifications
You must be signed in to change notification settings - Fork 382
Renames the svcat --kube-context flag to --context (#1821) #1997
Renames the svcat --kube-context flag to --context (#1821) #1997
Conversation
…netes-retired#1821) * simply renamed the string kube-context flag as context
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.
Just some small changes, and then this will be all set! 👍
cmd/svcat/main.go
Outdated
@@ -112,7 +112,7 @@ func buildRootCommand(cxt *command.Context) *cobra.Command { | |||
}, | |||
} | |||
|
|||
cmd.PersistentFlags().StringVar(&opts.KubeContext, "kube-context", "", "name of the kube context to use") | |||
cmd.PersistentFlags().StringVar(&opts.KubeContext, "context", "", "name of the kubeconfig context to use. This replaces the flag --kube-context") |
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.
Since we are not to v1.0 yet, we don't need to put "This replaces the flag..." in the help text.
cmd/svcat/plugin/manifest.go
Outdated
"log-flush-frequency": {}, | ||
"logtostderr": {}, | ||
"match-server-version": {}, | ||
// "kube-context": {}, this now replaced with the flag "context" |
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.
This line can be deleted, nice catch!
Hi @carolynvs ! Thank you so much for all your help 😄 I've made the changes you've requested and it's in this 6aae4d7 commit, as listed above on this thread. |
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
Thank you for fixing this! One step closer to v1.0! 🎉
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.
says what it does, very straightforward
LGTM
Closes #1821