[Agent][Deploy] - fix bugs

This commit is contained in:
zeaslity
2024-05-29 15:20:19 +08:00
parent 9cc5db9194
commit 019a011b55
3 changed files with 18 additions and 21 deletions

View File

@@ -169,11 +169,6 @@ func (op *AgentOsOperator) deployRke(funcArgs []string) (bool, []string) {
func (op *AgentOsOperator) deployK8sDashboard(funcArgs []string) (bool, []string) {
restartHarborExec, strings := op.restartHarborExec()
if !restartHarborExec {
return false, strings
}
// check folder
folder, i := CheckAppInstallFolder()
if !folder {