From ac2bbf8712c4f325fe8da54c2e6afe258c53b230 Mon Sep 17 00:00:00 2001 From: John Gardiner Myers Date: Tue, 25 Oct 2022 21:43:27 -0700 Subject: [PATCH] Revert deprecation of positional clustername args --- cmd/kops/root.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/kops/root.go b/cmd/kops/root.go index d018f7f817..707ec517e5 100644 --- a/cmd/kops/root.go +++ b/cmd/kops/root.go @@ -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 }