Skip to content

Commit

Permalink
fix ace-up command
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 20, 2024
1 parent 949c0d8 commit 41ec383
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cmds/ace_up.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 41ec383

Please sign in to comment.