1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 13:40:22 +00:00

Remove statefile for dind remove

This commit is contained in:
Sebastiaan van Steenis
2020-07-15 10:53:05 +02:00
committed by Denise
parent f8e48f67c3
commit 12b4dcaf59
4 changed files with 11 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ func (c *Cluster) CleanupNodes(ctx context.Context) error {
func (c *Cluster) CleanupFiles(ctx context.Context) error {
pki.RemoveAdminConfig(ctx, c.LocalKubeConfigPath)
removeStateFile(ctx, c.StateFilePath)
RemoveStateFile(ctx, c.StateFilePath)
return nil
}