Fix staticcheck in test/integration/{examples,framework}

Part of #92402, fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
This commit is contained in:
tiloso
2020-12-14 21:40:05 +01:00
parent 568cd3df0b
commit 3cbdc711de
4 changed files with 4 additions and 6 deletions

View File

@@ -127,7 +127,7 @@ func StartTestServer(t *testing.T, stopCh <-chan struct{}, setup TestServerSetup
}
go func() {
if err := kubeAPIServer.GenericAPIServer.PrepareRun().Run(stopCh); err != nil {
t.Fatal(err)
t.Error(err)
}
}()