Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: independent the service discovery package #8825

Merged
merged 5 commits into from
Nov 25, 2024

Use a constants dictionary

cfef0be
Select commit
Loading
Failed to load commit list.
Merged

*: independent the service discovery package #8825

Use a constants dictionary
cfef0be
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Nov 25, 2024 in 0s

87.50% of diff hit (target 75.24%)

View this Pull Request on Codecov

87.50% of diff hit (target 75.24%)

Annotations

Check warning on line 279 in client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/client.go#L279

Added line #L279 was not covered by tests

Check warning on line 66 in client/servicediscovery/mock_pd_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/mock_pd_service_discovery.go#L66

Added line #L66 was not covered by tests

Check warning on line 90 in client/servicediscovery/mock_pd_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/mock_pd_service_discovery.go#L90

Added line #L90 was not covered by tests

Check warning on line 843 in client/servicediscovery/pd_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/pd_service_discovery.go#L843

Added line #L843 was not covered by tests

Check warning on line 874 in client/servicediscovery/pd_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/pd_service_discovery.go#L874

Added line #L874 was not covered by tests

Check warning on line 287 in client/servicediscovery/tso_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/tso_service_discovery.go#L286-L287

Added lines #L286 - L287 were not covered by tests

Check warning on line 388 in client/servicediscovery/tso_service_discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/servicediscovery/tso_service_discovery.go#L387-L388

Added lines #L387 - L388 were not covered by tests

Check warning on line 436 in client/tso_stream.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/tso_stream.go#L436

Added line #L436 was not covered by tests

Check warning on line 67 in client/utils/tlsutil/url.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/utils/tlsutil/url.go#L67

Added line #L67 was not covered by tests