Skip to content

Commit

Permalink
raise warning if ns is missing
Browse files Browse the repository at this point in the history
Signed-off-by: jasonz <ksdpmx@gmail.com>
  • Loading branch information
ksdpmx committed Apr 26, 2024
1 parent 0426e3c commit c9f1018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/ctr/commands/namespaces/namespaces.go
Expand Up @@ -173,8 +173,10 @@ var removeCommand = &cli.Command{
}
log.G(ctx).WithError(err).Errorf("unable to delete %v", target)
continue
} else {
log.G(ctx).WithError(err).Warnf("namespace %v not found", target)
continue
}

}

fmt.Println(target)
Expand Down

0 comments on commit c9f1018

Please sign in to comment.