You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(servicediscovery): simplify client initialization and remove unused options
- Removed `WithHTTPClient` and `WithCustomEndpoint` options from the `servicediscovery.Client`.
- Simplified `New` function to directly use `http.Client` and environment variable for base URL.
- Updated tests to use `MockDiscoveryServer` with `testing.TB` for better integration.
- Replaced hardcoded `ProdDiscoveryEndpoint` with `ProdDiscoveryAPIBaseURL` for consistency.
- Adjusted dependent code to align with the new client initialization approach.
0 commit comments