mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
remove excess error handling
This commit is contained in:
parent
0abb908638
commit
1a4b0ee09b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user