mirror of
https://github.com/usual2970/certimate.git
synced 2025-09-04 15:31:46 +00:00
fix: nil pointer
This commit is contained in:
@@ -74,7 +74,6 @@ func TestDeploy(t *testing.T) {
|
||||
})
|
||||
if err != nil {
|
||||
t.Errorf("err: %+v", err)
|
||||
panic(err)
|
||||
}
|
||||
|
||||
fInputCertData, _ := os.ReadFile(fInputCertPath)
|
||||
@@ -82,7 +81,6 @@ func TestDeploy(t *testing.T) {
|
||||
res, err := deployer.Deploy(context.Background(), string(fInputCertData), string(fInputKeyData))
|
||||
if err != nil {
|
||||
t.Errorf("err: %+v", err)
|
||||
panic(err)
|
||||
}
|
||||
|
||||
t.Logf("ok: %v", res)
|
||||
|
Reference in New Issue
Block a user