mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Changed unmount function for subpath with dirs
This commit is contained in:
parent
cb0ab22b2e
commit
c9e97151b3
@ -583,7 +583,7 @@ func TestCleanSubPaths(t *testing.T) {
|
||||
return nil
|
||||
}
|
||||
|
||||
if err = os.RemoveAll(path); err != nil {
|
||||
if err = os.Remove(path); err != nil {
|
||||
return err
|
||||
}
|
||||
return filepath.SkipDir
|
||||
|
Loading…
Reference in New Issue
Block a user