[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

@@ -14,6 +14,12 @@ type NfsDeployConfig struct {
}
func NFSDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
if commonEnv.NFSServerIP == "" {
log.Error("Nfs server ip is nil")
return false
}
return commonEnv.ParseCommonEnvToApplyFile(CmiiNfsTemplate, z_dep.NfsApplyFilePath)
}