Skip to content

Commit be631a9

Browse files
committed
Remove cached cluster config on cluster deletion
1 parent 07ea754 commit be631a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/cmd/cluster.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"bytes"
2323
"fmt"
2424
"net/http"
25+
"os"
2526
"strings"
2627
"time"
2728

@@ -169,6 +170,8 @@ var downCmd = &cobra.Command{
169170
if err != nil {
170171
errors.Exit(err)
171172
}
173+
174+
os.Remove(cachedClusterConfigPath)
172175
},
173176
}
174177

0 commit comments

Comments
 (0)