forked from fluxcd/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate helpful error on failed git write check
While starting up, the daemon continually checks whether it can clone the upstream repo, and if so, whether it can write to it. If this results in an error, it stores this away and keeps trying. Until it succeeds, when asked to do anything related to the git repo (i.e., almost anything), it responds with the stored error. In that interim, it's possible that a user will ask for something that needs a cloned repo; and if so, a helpful error is .. helpful.
- Loading branch information
Showing
2 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters