[Agent][GO] - fix deploy bugs

This commit is contained in:
zeaslity
2024-07-17 16:22:40 +08:00
parent 034ae3d25b
commit b7daaddf1e
47 changed files with 25342 additions and 26 deletions

View File

@@ -24,11 +24,12 @@ func CmiiEnvDeploy(deployCommonEnv *z_dep.CommonEnvironmentConfig, shouldDoCompl
} else {
// demo ==> ""
// cqlyj ==> ""
tenantEnv = ""
tenantEnv = deployCommonEnv.Namespace
}
// assign folder prefix
deployCommonEnv.ApplyFilePrefix = folderPrefix
deployCommonEnv.TenantEnv = tenantEnv
var backendMap map[string]string
var frontendMap map[string]string
@@ -84,7 +85,7 @@ func CmiiNewAppDeploy(deployCommonEnv *z_dep.CommonEnvironmentConfig, newAppName
} else {
// demo ==> ""
// cqlyj ==> ""
tenantEnv = ""
tenantEnv = "demo"
}
// assign folder prefix