We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f385a commit 5c52663Copy full SHA for 5c52663
cmd/openshift-install/destroy.go
@@ -109,10 +109,8 @@ func runDestroyCmd(directory string, reportQuota bool) error {
109
}
110
111
112
- // ensure capi etcd data store is cleaned up
113
- clusterapi.System().CleanEtcd()
114
-
115
- capiArtifactsDir := filepath.Join(command.RootOpts.Dir, clusterapi.ArtifactsDir)
+ // ensure capi etcd data store and capi artifacts are cleaned up
+ capiArtifactsDir := filepath.Join(directory, clusterapi.ArtifactsDir)
116
if err := os.RemoveAll(capiArtifactsDir); err != nil {
117
logrus.Warnf("failed to remove %s: %v", capiArtifactsDir, err)
118
0 commit comments