mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-25 15:33:33 +00:00
the ensureDirectory seems to be just a wrapper around MkdirAll. Since MkdirAll doesn't treat an existing directory as an error, there is no need of the extra stat() syscall that was previously performed. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>