From 63f9a519b778e36679dc44b3cd4b26ccfa088b77 Mon Sep 17 00:00:00 2001 From: jandersen-plaid <52045989+jandersen-plaid@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:12:39 -0800 Subject: [PATCH] fix: ensure the MR log line prints an integer and not a rune (#4078) 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 b84760cf8..686863532 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