Skip to content

Commit

Permalink
Do not print target repo prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiel committed Sep 18, 2024
1 parent 17e3d20 commit 2e077dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/image-url-helper/promote/externalsyncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package promote
import (
"bytes"
"fmt"
"sort"

"github.com/kyma-project/test-infra/pkg/image-url-helper/common"
imagesyncer "github.com/kyma-project/test-infra/pkg/imagesync"
"sort"

"gopkg.in/yaml.v3"
)
Expand Down Expand Up @@ -35,7 +36,6 @@ func convertImageslist(images common.ComponentImageMap, targetContainerRegistry,
sort.Strings(imageNames)

syncDef := imagesyncer.SyncDef{}
syncDef.TargetRepoPrefix = targetContainerRegistry + "/"
for _, fullImageURL := range imageNames {
tmpImage := imagesyncer.Image{}
tmpImage.Source = fullImageURL
Expand Down

0 comments on commit 2e077dd

Please sign in to comment.