Files
kubernetes/pkg/util/filesystem
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
..
2017-09-25 20:45:52 -07:00
2017-09-25 20:45:52 -07:00
2017-09-25 20:45:52 -07:00