mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #45871 from YuPengZTE/devTestAddKnownTypesIdemPotent
Automatic merge from submit-queue delete the useless "gv" in Errorf Signed-off-by: yupengzte <yu.peng36@zte.com.cn> **What this PR does / why we need it**: Fix "no formatting directive in Errorf call" **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
This commit is contained in:
commit
04acd91a0d
@ -583,7 +583,7 @@ func TestAddKnownTypesIdemPotent(t *testing.T) {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
if len(kinds) != 1 {
|
||||
t.Errorf("expected only one kind for InternalSimple after double registration", gv)
|
||||
t.Errorf("expected only one kind for InternalSimple after double registration")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user