Skip to content

Commit

Permalink
remove nil error print
Browse files Browse the repository at this point in the history
  • Loading branch information
taigrr committed Jun 6, 2023
1 parent c0f7a92 commit 9e3f896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pki/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ func ReloadNKeys() error {
// DefaultTestOptions.Accounts
if NatsServer != nil {
err = NatsServer.ReloadOptions(&optsCopy)
log.Error(err)
if err != nil {
log.Error(err)
}
}
return err
}

0 comments on commit 9e3f896

Please sign in to comment.