Merge pull request #102944 from navist2020/rm/errHandle

remove excess error handling
This commit is contained in:
Kubernetes Prow Robot 2021-06-17 10:48:04 -07:00 committed by GitHub
commit f43ba7e0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,12 +358,6 @@ func TestTryLoadCertFromDisk(t *testing.T) {
}
defer os.RemoveAll(tmpdir)
if err != nil {
t.Fatalf(
"failed to create cert and key with an error: %v",
err,
)
}
err = WriteCert(tmpdir, "foo", rootCACert)
if err != nil {
t.Fatalf(