mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-07 13:54:19 +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>