Skip to content

Commit 45a50ae

Browse files
authored
Merge pull request #2540 from lizardruss/main
fix: tag replaced incorrectly when using dev.*.imageSelector with pre…
2 parents bb0474b + 9ef3551 commit 45a50ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/devspace/config/loader/variable/legacy

pkg/devspace/config/loader/variable/legacy/replace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func resolveImage(value string, config config2.Config, dependencies []types.Depe
175175

176176
// try to find the tag for the image
177177
tag := originalTag
178-
if imageCache.Tag != "" {
178+
if tag == "" && imageCache.Tag != "" {
179179
tag = imageCache.Tag
180180
}
181181

0 commit comments

Comments
 (0)