mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Remove duplicate fmt.Sprintf for logging
This commit is contained in:
parent
7eb9a75bf9
commit
94ea99dab4
@ -45,7 +45,7 @@ func TestErrorNew(t *testing.T) {
|
||||
t.Errorf("expected to not be %s", metav1.StatusReasonConflict)
|
||||
}
|
||||
if IsNotFound(err) {
|
||||
t.Errorf(fmt.Sprintf("expected to not be %s", metav1.StatusReasonNotFound))
|
||||
t.Errorf("expected to not be %s", metav1.StatusReasonNotFound)
|
||||
}
|
||||
if IsInvalid(err) {
|
||||
t.Errorf("expected to not be %s", metav1.StatusReasonInvalid)
|
||||
|
Loading…
Reference in New Issue
Block a user