Skip to content

Commit

Permalink
Add log when creating client
Browse files Browse the repository at this point in the history
  • Loading branch information
clobrano committed Jun 27, 2024
1 parent a97eb19 commit ba1149c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/peerhealth/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Client struct {

// NewClient return a new client for peer health checks. Don't forget to close it when done
func NewClient(serverAddr string, peerDialTimeout time.Duration, log logr.Logger, clientCreds credentials.TransportCredentials) (*Client, error) {

log.Info("new peer client", "serveraddr", serverAddr)
var opts []grpc.DialOption

if clientCreds != nil {
Expand Down

0 comments on commit ba1149c

Please sign in to comment.