-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Allow setting tagged addresses on services #12951
Conversation
71b8f18
to
ab7147c
Compare
ab7147c
to
7f72113
Compare
7f72113
to
98839d4
Compare
98839d4
to
57af995
Compare
57af995
to
69bbaa4
Compare
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.
LGTM and tested locally!
Small inline comment within the equals addition around avoiding reflection, but it's not a blocker.
nomad/structs/services.go
Outdated
@@ -825,6 +834,10 @@ OUTER: | |||
return false | |||
} | |||
|
|||
if !reflect.DeepEqual(s.TaggedAddresses, o.TaggedAddresses) { |
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.
Could we use helper.CompareMapStringString
here rather than reflect to avoid the need for type assertion?
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 #12950