-
Notifications
You must be signed in to change notification settings - Fork 2k
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
added multiple host network aliases for the same interface #10104
added multiple host network aliases for the same interface #10104
Conversation
nomad/structs/structs.go
Outdated
@@ -2439,7 +2441,7 @@ const ( | |||
|
|||
type NodeNetworkAddress struct { | |||
Family NodeNetworkAF | |||
Alias string | |||
Aliases []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this approach breaks backwards compatibility for nodes that are already saved in raft. Given that we can already store multiple NodeNetworkAddress
for a node, we can solve this problem by writing one for each alias from the node fingerprint.
@tgross I've updated it |
LGTM. I've pushed a small style change to the test; you copied what was nearby which was totally the right thing for you to do but we've been using |
@tgross |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
FIxes #10106