-
Notifications
You must be signed in to change notification settings - Fork 47
[35/n] [reconfigurator] add add_zones_with_mupdate_override chicken switch #8648
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
[35/n] [reconfigurator] add add_zones_with_mupdate_override chicken switch #8648
Conversation
Created using spr 1.3.6-beta.1 [skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1 [skip ci]
Created using spr 1.3.6-beta.1
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, JsonSchema)] | ||
pub struct ReconfiguratorChickenSwitches { | ||
pub struct ReconfiguratorChickenSwitchesView { |
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.
Turned the current ReconfiguratorChickenSwitches
into a view type, and made both the view and the param types carry around a common ReconfiguratorChickenSwitches
struct.
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.
Good idea! I like this a lot.
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.
Looks great! I like the way you dealt with keeping the existing options set in omdb.
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, JsonSchema)] | ||
pub struct ReconfiguratorChickenSwitches { | ||
pub struct ReconfiguratorChickenSwitchesView { |
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.
Good idea! I like this a lot.
|
||
> set chicken-switches --add-zones-with-mupdate-override true | ||
chicken switches updated: | ||
* add zones with mupdate override: false -> true |
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.
Awesome :)
Created using spr 1.3.6-beta.1
Add a chicken switch to enable testing mupdate/update logic for r16 while not affecting customer systems.
Required a few changes but should hopefully be relatively easy to understand. As part of this, added:
TODO: