Removed comments

Signed-off-by: Travis Mattera <travis@mattera.io>
pull/4232/head
Travis Mattera 2 years ago
parent 0ba9db560b
commit 8483b45213
No known key found for this signature in database
GPG Key ID: 6E9A8A6A0A74CA52

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

Loading…
Cancel
Save