Skip to content

Commit 4aca321

Browse files
authored
ci: fix fmt string errors (#994)
I think these snuck in as we changed go versions
1 parent 11c9497 commit 4aca321

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/zoekt-sourcegraph-indexserver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ func (s *Server) Run() {
385385
// "pkill -SIGUSR1 zoekt-sourcegra"
386386
for range jitterTicker(s.Interval, unix.SIGUSR1) {
387387
if paused, msg := isIndexingPaused(s.IndexDir); paused {
388-
infoLog.Printf(msg)
388+
infoLog.Printf("%s", msg)
389389
continue
390390
}
391391

cmd/zoekt-sourcegraph-indexserver/queue_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func TestQueue_Integration_DebugQueue(t *testing.T) {
190190
// test: send a request to the queue's debug endpoint
191191
response, err := http.Get(server.URL)
192192
if err != nil {
193-
t.Fatalf(err.Error())
193+
t.Fatalf("%s", err.Error())
194194
}
195195

196196
defer response.Body.Close()

0 commit comments

Comments
 (0)