From 345f3709a45395457f79a0e5302b38a89f0e80bb Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Thu, 18 Jan 2024 10:03:52 -0500 Subject: [PATCH] Make "unable to detect git commit" a debug message Signed-off-by: Jason Hall --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 70977e17b..4b593f360 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -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 "" }