kubernetes/pkg/kubelet/util/store
Giuseppe Scrivano 705242e2af
kubelet: remove superfluous function
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>
2022-07-18 17:08:27 +02:00
..
doc.go Address comments, fix lint failures, and bazel complaints 2017-10-19 15:18:30 -07:00
filestore_test.go remove fakefs to drop spf13/afero dependency 2021-06-24 09:51:34 -04:00
filestore.go kubelet: remove superfluous function 2022-07-18 17:08:27 +02:00
store_test.go Address comments, fix lint failures, and bazel complaints 2017-10-19 15:18:30 -07:00
store.go Address comments, fix lint failures, and bazel complaints 2017-10-19 15:18:30 -07:00