[Agent][GO] - fix deploy bugs
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user