Skip to content

Commit b81c3d6

Browse files
sagor999roboquat
authored andcommitted
[content-service] change log message from Warn to Debug
1 parent d3b2770 commit b81c3d6

File tree

1 file changed

+2
-1
lines changed
  • components/content-service/pkg/initializer

1 file changed

+2
-1
lines changed

components/content-service/pkg/initializer/git.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
9999
return src, xerrors.Errorf("git initializer gitClone: %w", err)
100100
}
101101

102+
// this is only needed for prebuilds using PVC, so if it errors out, output only Debug log to prevent log spam
102103
if err := ws.AddSafeDirectory(ctx, ws.Location); err != nil {
103-
log.WithError(err).Warn("git initializer AddSafeDirectory")
104+
log.WithError(err).Debug("git initializer AddSafeDirectory")
104105
}
105106

106107
if ws.Chown {

0 commit comments

Comments
 (0)