Remove annoying sprintf warning
Kubernetes-commit: 517a0b0818e35a4b85fabd171f510da5b4e42549
This commit is contained in:
parent
c2b2144291
commit
23ee230608
|
|
@ -2257,7 +2257,7 @@ func TestDescribeJob(t *testing.T) {
|
|||
if !strings.Contains(out, fmt.Sprintf("Completed Indexes: %s\n", tc.wantCompletedIndexes)) {
|
||||
t.Errorf("Output didn't contain wanted Completed Indexes:\n%s", out)
|
||||
}
|
||||
} else if strings.Contains(out, fmt.Sprintf("Completed Indexes:")) {
|
||||
} else if strings.Contains(out, "Completed Indexes:") {
|
||||
t.Errorf("Output contains unexpected completed indexes:\n%s", out)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue