File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ package quickon
99import (
1010 "github.com/easysoft/qcadmin/cmd/flags"
1111 "github.com/easysoft/qcadmin/common"
12-
1312 "github.com/easysoft/qcadmin/internal/app/config"
1413 "github.com/easysoft/qcadmin/internal/pkg/util/factory"
1514 "github.com/easysoft/qcadmin/pkg/quickon"
Original file line number Diff line number Diff line change @@ -444,5 +444,9 @@ func (m *Meta) UnInstall() error {
444444 repoCleanArgs := []string {"experimental" , "helm" , "repo-del" }
445445 _ = qcexec .Command (os .Args [0 ], repoCleanArgs ... ).Run ()
446446 m .log .Done ("uninstall helm repo success" )
447+ f := common .GetCustomConfig (common .InitFileName )
448+ if file .CheckFileExists (f ) {
449+ os .Remove (f )
450+ }
447451 return nil
448452}
You can’t perform that action at this time.
0 commit comments