[ Agent ] [ Status ] - refresh status part
This commit is contained in:
@@ -794,6 +794,14 @@ func (op *AgentOsOperator) deployIngress(funcArgs []string) (bool, []string) {
|
||||
result = append(result, "替换SUPREME信息")
|
||||
return false, result
|
||||
}
|
||||
parseIP = net.ParseIP(funcArgs[3])
|
||||
if parseIP == nil {
|
||||
return false, append(result, "ip args error !")
|
||||
}
|
||||
if !BasicReplace(k8sIngressYamlFile, "A1C1IP", funcArgs[3]) {
|
||||
result = append(result, "替换A1C1IP信息")
|
||||
return false, result
|
||||
}
|
||||
if !BasicReplace(k8sIngressYamlFile, "A1C1JS", funcArgs[4]) {
|
||||
result = append(result, "替换A1C1JS信息")
|
||||
return false, result
|
||||
|
||||
Reference in New Issue
Block a user