Skip to content

Commit

Permalink
Update pkg/karmadactl/cmdinit/cert/cert_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lan <[email protected]>
  • Loading branch information
guozheng-shen and liangyuanpeng authored Jul 11, 2024
1 parent 25718d1 commit 338e548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/karmadactl/cmdinit/cert/cert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestGenCerts(_ *testing.T) {
frontProxyClientCertCfg := NewCertConfig("front-proxy-client", []string{}, certutil.AltNames{}, &notAfter)

if err := GenCerts(TestCertsTmp, "", "", etcdServerCertConfig, etcdClientCertCfg, karmadaCertCfg, apiserverCertCfg, frontProxyClientCertCfg); err != nil {
fmt.Println(err)
t.Fatal(err)

Check failure on line 107 in pkg/karmadactl/cmdinit/cert/cert_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: t (typecheck)
}
if err := GenCerts(TestCertsTmp, TestCaCertPath, TestCaKeyPath, etcdServerCertConfig, etcdClientCertCfg, karmadaCertCfg, apiserverCertCfg, frontProxyClientCertCfg); err != nil {
fmt.Println(err)
Expand Down

0 comments on commit 338e548

Please sign in to comment.