Skip to content

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Mattera <[email protected]>
  • Loading branch information
haggishunk committed Sep 13, 2023
1 parent 0ba9db5 commit 8483b45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/flux/suspend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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 {
Expand Down

0 comments on commit 8483b45

Please sign in to comment.