Merge pull request #122978 from SataQiu/fix-20240126

kubeadm: fix the error check bug in certlist test
This commit is contained in:
Kubernetes Prow Robot
2024-01-26 10:10:00 +01:00
committed by GitHub

View File

@@ -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)
}