Skip to content

Commit 96a0238

Browse files
committed
repo name url update
1 parent 5dca30c commit 96a0238

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/appStore/installedApp/service/common/AppStoreDeploymentCommonService.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ func (impl AppStoreDeploymentCommonServiceImpl) GetRequirementsString(appStoreAp
210210
if appStoreAppVersion.AppStore.ChartRepo != nil {
211211
dependency.Repository = appStoreAppVersion.AppStore.ChartRepo.Url
212212
} else if appStoreAppVersion.AppStore.DockerArtifactStore != nil {
213-
dependency.Repository = appStoreAppVersion.AppStore.DockerArtifactStore.RegistryURL
214-
repositoryURL, repositoryName, err := sanitizeRepoNameAndURLForOCIRepo(dependency.Repository, dependency.Name)
213+
repositoryURL, repositoryName, err := sanitizeRepoNameAndURLForOCIRepo(appStoreAppVersion.AppStore.DockerArtifactStore.RegistryURL, appStoreAppVersion.AppStore.Name)
215214
if err != nil {
216215
impl.logger.Errorw("error in getting sanitized repository name and url", "repositoryURL", repositoryURL, "repositoryName", repositoryName, "err", err)
217216
return "", err

0 commit comments

Comments
 (0)