[ Agent ] [ App ] - fix some bugs
This commit is contained in:
@@ -158,7 +158,7 @@ func (op *AgentOsOperator) deployRke(funcArgs []string) (bool, []string) {
|
||||
"[deployRke] - ip args error !",
|
||||
}
|
||||
}
|
||||
if !BasicReplace("/root/wdd/rke-cluster.yml", "A1C2IP", funcArgs[1]) {
|
||||
if !BasicReplace("/root/wdd/rke-cluster.yml", "A1C2IP", funcArgs[0]) {
|
||||
log.ErrorF("[deployRke] - rke config replace error !")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user