[Agent][GO] - fix deploy bugs
This commit is contained in:
@@ -152,6 +152,11 @@ func (srsConfig *CmiiSrsConfig) SRSDeploy(commonEnv *z_dep.CommonEnvironmentConf
|
||||
// copy
|
||||
utils.CopySameFields(commonEnv, srsConfig)
|
||||
|
||||
if srsConfig.MinioInnerIP == "" {
|
||||
log.Error("minio inner ip is nil !")
|
||||
return false
|
||||
}
|
||||
|
||||
if !z_dep.ParseEnvToApplyFile(srsConfig, CmiiSrsTemplate, z_dep.SRSApplyFilePath) {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user