Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We use os.Rename to avoid potentially creating a situation where a config file might be corrupted. This can however lead to a weird situation when another process locks the file (i.e. Antivirus). Adding a short retry loop should allow us to wait until the other process is done. [#172734111](https://www.pivotaltracker.com/story/show/172734111) Co-authored-by: Sebastian Vidrio <svidrio@vmware.com>
- Loading branch information