-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add SBD_OPTS to cluster discovery events #996
Conversation
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.
Photofinish scenarios are not supposed to fiddle with, mainly because the majority of the fixtures we have is extracted from real landscapes and should reflect what the customers are running.
trento-project/agent@c51ca4e#r1027690491
in case we could remove the extra entries so the output is the same to what we had with the regex
I think this is spot on, maybe we could pursue that path?
@dottorblaster In the other hand, I think this is a pretty logical movement. |
8010ab6
to
8f70057
Compare
@arbulu89 @dottorblaster with this trento-project/agent#145 being merged it looks safe enough updating the fixtures accordingly. In addition, the updated fixtures is what would be extracted from real landscapes and would reflect what the customers are running (ofc I am referring to the latest version of the agent) |
I'm fine with it. Mostly, because it is pretty irrelevant as we don't use this data anywhere (so it is not harmful for sure). But it is true that this is what the agent would be sending so I'm in favor of the change. |
e34a2f0
to
3bdcb16
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.
Missing verified commit
3bdcb16
to
70666ec
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.
I don't like the idea of fiddling with fixtures but as long as we verify that this is exactly the payload that we can expect... I think we don't have really a choice 😄
70666ec
to
8e2c751
Compare
Description
This change in the agent trento-project/agent#145 exposes to discoveries also empty SBD configuration entries like
SBD_OPTS=
(becoming in the json"SBD_OPTS": ""
)With this PR we test that the change is supported by trento web as well.
How was this tested?
Changed fixtures and let e2e tests run.