Skip to content

Commit

Permalink
Merge pull request #936 from chainguard-dev/imjasonh-patch-1
Browse files Browse the repository at this point in the history
Make "unable to detect git commit" a debug message
  • Loading branch information
luhring authored Jan 18, 2024
2 parents 34a2130 + 345f370 commit 1259459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ func detectCommit(ctx context.Context, dirPath string) string {
// TODO: figure out how to use an abstract FS
repo, err := git.PlainOpen(dirPath)
if err != nil {
log.Warnf("unable to detect git commit for build configuration: %v", err)
log.Debugf("unable to detect git commit for build configuration: %v", err)
return ""
}

Expand Down

0 comments on commit 1259459

Please sign in to comment.