From 439ddd369d2f160ef171608f4abeb4b9ae750369 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 19 Dec 2023 11:47:05 -0800 Subject: [PATCH] fix: ensure the MR log line prints an integer and not a rune Signed-off-by: Jack Andersen --- server/events/project_command_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events/project_command_builder.go b/server/events/project_command_builder.go index b84760cf8c..6868635324 100644 --- a/server/events/project_command_builder.go +++ b/server/events/project_command_builder.go @@ -374,7 +374,7 @@ func (p *DefaultProjectCommandBuilder) buildAllCommandsByCfg(ctx *command.Contex if err != nil { return nil, err } - ctx.Log.Info("%d projects are changed on MR %q based on their when_modified config", len(matchingProjects), ctx.Pull.Num) + ctx.Log.Info("%d projects are changed on MR %d based on their when_modified config", len(matchingProjects), ctx.Pull.Num) if len(matchingProjects) == 0 { ctx.Log.Info("skipping repo clone since no project was modified") return []command.ProjectContext{}, nil