Matthieu MOREL
f736cca0e5
fix: enable expected-actual rule from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-09-27 07:56:31 +02:00
Matthieu MOREL
f014b754fb
fix: enable empty and len rules from testifylint on pkg package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-07-06 23:15:43 +00:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-06-24 09:51:34 -04:00
Li Zhijian
02eaa4f354
cleanup tempfiles in unit test
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2020-06-23 11:47:18 +08:00
Yu-Ju Hong
16e7c6ee17
Close the file before renaming in FileStore
...
Also change the unit test to use a real file system to detect errors
like this.
2017-11-03 10:24:49 -07:00
Yu-Ju Hong
5cbca87add
Address comments, fix lint failures, and bazel complaints
2017-10-19 15:18:30 -07:00
Yu-Ju Hong
5169cc85cf
Add a file store utility package in kubelet
...
More and more components checkpoints (i.e., persist their states) in
kubelet. Refurbish and move the implementation in dockershim to a
utility package to improve code reusability.
2017-10-17 10:36:33 -07:00