Merge pull request #1608 from prometheus/fix-printf
Fix format argument in retrieval test.
This commit is contained in:
commit
3ce895e86d
|
@ -210,7 +210,7 @@ func TestScrapePoolReload(t *testing.T) {
|
||||||
|
|
||||||
mtx.Lock()
|
mtx.Lock()
|
||||||
if len(stopped) != numTargets {
|
if len(stopped) != numTargets {
|
||||||
t.Fatalf("Expected 20 stopped loops, got %d", stopped)
|
t.Fatalf("Expected 20 stopped loops, got %d", len(stopped))
|
||||||
}
|
}
|
||||||
mtx.Unlock()
|
mtx.Unlock()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue