]> git.feebdaed.xyz Git - 0xmirror/grpc-go.git/commit
client: Add error log for missing health package import during health check (#8595)
authorArjan Singh Bal <46515553+arjan-bal@users.noreply.github.com>
Fri, 3 Oct 2025 04:08:57 +0000 (09:38 +0530)
committerGitHub <noreply@github.com>
Fri, 3 Oct 2025 04:08:57 +0000 (09:38 +0530)
commit632550491c3f01aa478b50a82e77cae1ea287dd1
tree395acef3737a43fd31b7fd3ddb6254a127d4a678
parent9a1d8d8bca8c7f88b7b10f51163c7241b087dfe4
client: Add error log for missing health package import during health check (#8595)

Addresses: https://github.com/grpc/grpc-go/issues/8590

When using the health producer for health checks, and the health package
is not imported by the application, a no op health producer is used
without logging any errors. This PR adds an error log similar to the one
for the old health checks started by the subchannel.

https://github.com/grpc/grpc-go/blob/e35080456c7071b6d55887080ef78809c163640c/clientconn.go#L1475-L1481

RELEASE NOTES: N/A
balancer_wrapper.go