We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c9497 commit 4aca321Copy full SHA for 4aca321
cmd/zoekt-sourcegraph-indexserver/main.go
@@ -385,7 +385,7 @@ func (s *Server) Run() {
385
// "pkill -SIGUSR1 zoekt-sourcegra"
386
for range jitterTicker(s.Interval, unix.SIGUSR1) {
387
if paused, msg := isIndexingPaused(s.IndexDir); paused {
388
- infoLog.Printf(msg)
+ infoLog.Printf("%s", msg)
389
continue
390
}
391
cmd/zoekt-sourcegraph-indexserver/queue_test.go
@@ -190,7 +190,7 @@ func TestQueue_Integration_DebugQueue(t *testing.T) {
190
// test: send a request to the queue's debug endpoint
191
response, err := http.Get(server.URL)
192
if err != nil {
193
- t.Fatalf(err.Error())
+ t.Fatalf("%s", err.Error())
194
195
196
defer response.Body.Close()
0 commit comments