From 8483b4521379804ced9f54e657e98ec4de208345 Mon Sep 17 00:00:00 2001 From: Travis Mattera Date: Wed, 13 Sep 2023 11:08:20 -0700 Subject: [PATCH] Removed comments Signed-off-by: Travis Mattera --- cmd/flux/suspend.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/flux/suspend.go b/cmd/flux/suspend.go index 5ac2ac37..54b45fef 100644 --- a/cmd/flux/suspend.go +++ b/cmd/flux/suspend.go @@ -79,7 +79,6 @@ func (suspend suspendCommand) run(cmd *cobra.Command, args []string) error { return err } - // in case of all, get all in namespace and patch 'em if len(args) < 1 && suspendArgs.all { listOpts := []client.ListOption{ client.InNamespace(*kubeconfigArgs.Namespace), @@ -92,7 +91,6 @@ func (suspend suspendCommand) run(cmd *cobra.Command, args []string) error { return nil } - // when not all, patch list of args processed := make(map[string]struct{}, len(args)) for _, arg := range args { if _, has := processed[arg]; has {