From 41ec3833e291c1b688d3324edb8c7491cda077c6 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 20 Nov 2024 00:48:29 -0800 Subject: [PATCH] fix ace-up command Signed-off-by: Tamal Saha --- pkg/cmds/ace_up.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cmds/ace_up.go b/pkg/cmds/ace_up.go index 290c1745..0cfba25f 100644 --- a/pkg/cmds/ace_up.go +++ b/pkg/cmds/ace_up.go @@ -83,7 +83,9 @@ func NewCmdAceUp() *cobra.Command { for img, tag := range images { tags := aceMap[img] switch len(tags) { - case 0, 1: + case 0: + // skip + case 1: aceMap[img] = []string{tag} default: aceMap[img] = sets.List(sets.New[string](aceMap[img]...).Insert(tag))