Skip to content

Commit c9e9715

Browse files
committed
Changed unmount function for subpath with dirs
1 parent cb0ab22 commit c9e9715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/volume/util/subpath/subpath_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ func TestCleanSubPaths(t *testing.T) {
583583
return nil
584584
}
585585

586-
if err = os.RemoveAll(path); err != nil {
586+
if err = os.Remove(path); err != nil {
587587
return err
588588
}
589589
return filepath.SkipDir

0 commit comments

Comments
 (0)