Merge pull request #604 from thockin/log_exit_one_time

Log when exiting after --one-time
This commit is contained in:
Kubernetes Prow Robot 2022-08-15 01:08:13 -07:00 committed by GitHub
commit ad81e5fd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ func main() {
}
}
log.DeleteErrorFile()
log.V(2).Info("exiting after one sync", "status", exitCode)
os.Exit(exitCode)
}
if isHash, err := git.RevIsHash(ctx); err != nil {