File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -487,13 +487,14 @@ func GetImagesFromApplication(app *v1alpha1.Application) image.ContainerImageLis
487
487
appImgs := make (map [string ]* image.ContainerImage , len (app .Status .Summary .Images ))
488
488
for _ , imageStr := range app .Status .Summary .Images {
489
489
img := image .NewFromIdentifier (imageStr )
490
- appImgs [img .ImageName ] = img
490
+ appImgs [img .GetFullNameWithoutTag () ] = img
491
491
}
492
492
493
493
for _ , img := range * imagesFromAnnotations {
494
- if appImg , ok := appImgs [img .ImageName ]; ok {
495
- appImg .ImageAlias = img .ImageAlias
496
- images = append (images , appImg )
494
+ if appImg , ok := appImgs [img .GetFullNameWithoutTag ()]; ok {
495
+ i := * appImg
496
+ i .ImageAlias = img .ImageAlias
497
+ images = append (images , & i )
497
498
}
498
499
}
499
500
You can’t perform that action at this time.
0 commit comments