mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Merge pull request #122978 from SataQiu/fix-20240126
kubeadm: fix the error check bug in certlist test
This commit is contained in:
@@ -189,7 +189,7 @@ func TestCreateCertificateChain(t *testing.T) {
|
||||
t.Fatalf("unexpected error getting tree: %v", err)
|
||||
}
|
||||
|
||||
if certTree.CreateTree(ic); err != nil {
|
||||
if err := certTree.CreateTree(ic); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user