Skip to content

Commit

Permalink
Update internal/net/grpc/pool/pool.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroto Funakoshi <hiroto.funakoshi.hiroto@gmail.com>
  • Loading branch information
kpango and hlts2 committed Feb 1, 2024
1 parent a596c5f commit 7afc379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/net/grpc/pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ func isHealthy(ctx context.Context, conn *ClientConn) bool {
if conn.WaitForStateChange(ctx, state) {
state = conn.GetState()
if state == connectivity.Ready || state == connectivity.Connecting {
log.Debug("gRPC target %s's connection status enabled for target\tstatus: %s", conn.Target(), state.String())
log.Debugf("gRPC target %s's connection status enabled for target\tstatus: %s", conn.Target(), state.String())
}
return true

Check warning on line 807 in internal/net/grpc/pool/pool.go

View check run for this annotation

Codecov / codecov/patch

internal/net/grpc/pool/pool.go#L800-L807

Added lines #L800 - L807 were not covered by tests
}
Expand Down

0 comments on commit 7afc379

Please sign in to comment.