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

[#1411] support designated IPV4/IPV6 type configuration for register endpoint #1412

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

chengyouling
Copy link
Collaborator

No description provided.

@chengyouling chengyouling self-assigned this Jan 13, 2025
@@ -74,6 +74,8 @@ public class DiscoveryBootstrapProperties {
// enabled: true
private boolean enableServicePolling = false;

Copy link
Collaborator

@liubao68 liubao68 Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to use a boolean configuration to check if prefer ipv4 or ipv6. Or you can use an enum.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -32,7 +32,7 @@ public class DiscoveryBootstrapProperties {

private boolean watch = false;

private boolean enableZoneAware = false;
private boolean enabledZoneAware = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change this?

Copy link
Collaborator Author

@chengyouling chengyouling Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undo the modification

@chengyouling chengyouling merged commit 698cc74 into huaweicloud:master Jan 13, 2025
1 check passed
@chengyouling chengyouling deleted the master-ip branch January 13, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants