kubeadm: fix the err 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)
 | 
							t.Fatalf("unexpected error getting tree: %v", err)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if certTree.CreateTree(ic); err != nil {
 | 
						if err := certTree.CreateTree(ic); err != nil {
 | 
				
			||||||
		t.Fatal(err)
 | 
							t.Fatal(err)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user