-
Notifications
You must be signed in to change notification settings - Fork 62
[fix] Follow correct versioning pattern for vmm_register/instance_ensure_registered
#9407
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
Conversation
…ensure_registered` My previous multicast-support integration PR flipped outdated/updated versioning. This work fixes that, following proper versioning design. For consistency, we now include prefix version naming conventions (i.e. `v1_`). We also place the v1 versions of `InstanceEnsureBody` and `InstanceSledLocalConfig` in "sled-agent/types/src/v1.rs" instead of in the API directory.
jgallagher
left a comment
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.
Thanks for picking this up so quickly!
We move the v6 (pre-multicast version) of code back to `sled-agent/api/src`, but implement the default conversion / shim at the endpoint.
jgallagher
left a comment
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.
Thanks!
jmpesp
left a comment
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 good, one thing: I can't comment on rows not affected by the diff, but make sure that the docstring change for InstanceEnsureBody doesn't change with this shuffling around. Otherwise 🚢
My previous multicast-support integration PR flipped outdated/updated versioning. This work fixes that, following proper versioning design. For consistency, we now include prefix version naming conventions (i.e.,
v6_).