mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
kubelet: Use MkdirAll instead of Mkdir
This commit is contained in:
@@ -41,7 +41,7 @@ func NewFakeOS() *FakeOS {
|
||||
}
|
||||
|
||||
// Mkdir is a fake call that just returns nil.
|
||||
func (FakeOS) Mkdir(path string, perm os.FileMode) error {
|
||||
func (FakeOS) MkdirAll(path string, perm os.FileMode) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user