Commit 04acd91a authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45871 from YuPengZTE/devTestAddKnownTypesIdemPotent

Automatic merge from submit-queue delete the useless "gv" in Errorf Signed-off-by: 's avataryupengzte <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 ```
parents 45b7f5a4 d69b67f7
...@@ -583,7 +583,7 @@ func TestAddKnownTypesIdemPotent(t *testing.T) { ...@@ -583,7 +583,7 @@ func TestAddKnownTypesIdemPotent(t *testing.T) {
t.Fatalf("unexpected error: %v", err) t.Fatalf("unexpected error: %v", err)
} }
if len(kinds) != 1 { 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")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment