ソースを参照

fix porter env app

Mohammed Nafees 3 年 前
コミット
04bef556a2
1 ファイル変更2 行追加2 行削除
  1. 2 2
      cli/cmd/preview/utils.go

+ 2 - 2
cli/cmd/preview/utils.go

@@ -79,7 +79,7 @@ func GetSource(projectID uint, resourceName string, input map[string]interface{}
 
 		if err == nil {
 			output.SourceValues = values
-			output.IsApplication = output.Repo == "https://charts.getporter.dev"
+			output.IsApplication = true
 
 			return output, nil
 		}
@@ -106,7 +106,7 @@ func GetSource(projectID uint, resourceName string, input map[string]interface{}
 
 		if err == nil {
 			output.SourceValues = values
-			output.IsApplication = output.Repo == "https://charts.getporter.dev"
+			output.IsApplication = output.Repo == serverMetadata.DefaultAppHelmRepoURL || output.Repo == "https://charts.getporter.dev"
 
 			return output, nil
 		}