mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-07 23:28:53 +00:00
Merge pull request #520 from runatlantis/warn-log
Log rev-parse error at warn level.
This commit is contained in:
@@ -90,7 +90,7 @@ func (w *FileWorkspace) Clone(
|
||||
revParseCmd.Dir = cloneDir
|
||||
output, err := revParseCmd.CombinedOutput()
|
||||
if err != nil {
|
||||
log.Err("will re-clone repo, could not determine if was at correct commit: %s: %s: %s", strings.Join(revParseCmd.Args, " "), err, string(output))
|
||||
log.Warn("will re-clone repo, could not determine if was at correct commit: %s: %s: %s", strings.Join(revParseCmd.Args, " "), err, string(output))
|
||||
return w.forceClone(log, cloneDir, headRepo, p)
|
||||
}
|
||||
currCommit := strings.Trim(string(output), "\n")
|
||||
|
||||
Reference in New Issue
Block a user