Skip to content

Commit

Permalink
Merge pull request #14454 from johngmyers/revert-deprecation
Browse files Browse the repository at this point in the history
Revert deprecation of positional clustername args
  • Loading branch information
k8s-ci-robot authored Nov 5, 2022
2 parents e73d4d6 + ac2bbf8 commit de45957
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/kops/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit de45957

Please sign in to comment.