about summary refs log tree commit diff
path: root/third_party/gerrit-queue
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-12-14T16·29+0100
committerclbot <clbot@tvl.fyi>2021-12-14T17·14+0000
commitb68f7eebb9763c0ea8f135f72026bfb787b78c6c (patch)
treee0cd4e0b0771b1008cd81db127fa81e6de14c1a5 /third_party/gerrit-queue
parent0220fb319a351db3091727b56e0e3437f33b0b07 (diff)
fix(3p/gerrit-queue): submitqueue/runner.go: fix format string r/3242
Imported from https://github.com/flokli/gerrit-queue/pull/9

Change-Id: I8a1747686cfd60d28867a99b0c86d5b9b6ba352e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4328
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/gerrit-queue')
-rw-r--r--third_party/gerrit-queue/submitqueue/runner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/gerrit-queue/submitqueue/runner.go b/third_party/gerrit-queue/submitqueue/runner.go
index 5ac4b04db0fd..0b4cbcd8dd7c 100644
--- a/third_party/gerrit-queue/submitqueue/runner.go
+++ b/third_party/gerrit-queue/submitqueue/runner.go
@@ -120,7 +120,7 @@ func (r *Runner) Trigger(fetchOnly bool) error {
 			// discard wipSerie not rebased on HEAD
 			// we rebase them at the end of the loop, so this means master advanced without going through the submit queue
 			if !r.gerrit.SerieIsRebasedOnHEAD(r.wipSerie) {
-				l.Warnf("HEAD has moved to {} while still waiting for wipSerie, discarding it", r.gerrit.GetHEAD())
+				l.Warnf("HEAD has moved to %v while still waiting for wipSerie, discarding it", r.gerrit.GetHEAD())
 				r.wipSerie = nil
 				continue
 			}