mirror of https://github.com/kubernetes/kops.git
Merge pull request #14454 from johngmyers/revert-deprecation
Revert deprecation of positional clustername args
This commit is contained in:
commit
de45957b70
|
|
@ -265,12 +265,6 @@ func (c *RootCmd) clusterNameArgsAllowNoCluster(clusterName *string) func(cmd *c
|
|||
//
|
||||
// Everything else is an error.
|
||||
func (c *RootCmd) ProcessArgs(args []string) error {
|
||||
if len(args) > 0 {
|
||||
fmt.Fprintf(os.Stderr, "\n")
|
||||
fmt.Fprintf(os.Stderr, "\nClusterName as positional argument is deprecated and will be removed in a future version\n")
|
||||
fmt.Fprintf(os.Stderr, "\n")
|
||||
}
|
||||
|
||||
if len(args) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue