k3s/pkg/kubelet/kubeletconfig/util
Michael Taufen 62fecfb0f4 Fix a potential file leak
Previously, if a write or sync error occurred, we would not have called
Close(). This commit refactors ReplaceFile() so that we are sure to call
Close(), and also attempts to delete the temporary file if errors occur.
2017-09-25 20:45:52 -07:00
..
codec Revert "Merge pull request #51008 from kubernetes/revert-50789-fix-scheme" 2017-08-21 11:28:05 -07:00
equal Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
files Fix a potential file leak 2017-09-25 20:45:52 -07:00
log Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
panic Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
test Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00