diff --git a/pkg/bootstrap/stage.go b/pkg/bootstrap/stage.go index 1b84262abb..7c626b8887 100644 --- a/pkg/bootstrap/stage.go +++ b/pkg/bootstrap/stage.go @@ -150,10 +150,6 @@ func releaseName(ref name.Reference) string { } func extractFromDir(dir, prefix string, img v1.Image, imgName string) error { - if dirExists(dir) { - return nil - } - if err := os.MkdirAll(filepath.Dir(dir), 0755); err != nil { return err }