Merge pull request #14454 from johngmyers/revert-deprecation

Revert deprecation of positional clustername args
This commit is contained in:
Kubernetes Prow Robot 2022-11-04 21:22:17 -07:00 committed by GitHub
commit de45957b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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
}