fix: set correct variable for app image repo

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-02 18:47:48 -05:00
parent 2eb159b0c3
commit 3b76b81edf

View File

@@ -136,7 +136,7 @@ func GetDeployingAppImageName(appName, imageTag, imageRepo string) (string, erro
errs.Go(func() error {
b, err := PlugnTriggerOutput("deployed-app-image-repo", []string{appName}...)
if err == nil {
newImageTag = strings.TrimSpace(string(b[:]))
newImageRepo = strings.TrimSpace(string(b[:]))
}
return err
})