Deprecate make-symlink parameter in hyperkube

Change-Id: I07e7f5f2a4e9050de92d3f0230dae0f869b77529
pull/564/head
Davanum Srinivas 2019-03-05 13:00:38 -05:00
parent e330c0120e
commit c75fc36889
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ func NewHyperKubeCommand(stopCh <-chan struct{}) (*cobra.Command, []func() *cobr
}
cmd.Flags().BoolVar(&makeSymlinksFlag, "make-symlinks", makeSymlinksFlag, "create a symlink for each server in current directory")
cmd.Flags().MarkHidden("make-symlinks") // hide this flag from appearing in servers' usage output
cmd.Flags().MarkDeprecated("make-symlinks", "This feature will be removed in a later release.")
for i := range commandFns {
cmd.AddCommand(commandFns[i]())