-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Libnetwork remove unused args from driver-registry #42572
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
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.
FWIW, the ifn IPAMNotifyFunc is not used anywhere in our code currently either
vendor.conf
Outdated
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.
Temporarily using my fork because of circular dependency
ee639f6 to
5e068d8
Compare
vendor.conf
Outdated
|
|
||
| # cluster | ||
| github.com/docker/swarmkit 3629f50980f6c0dd5ccd7dbfa0956b57ea0cd78d # master | ||
| github.com/docker/swarmkit remove_driverregistry_arg https://github.com/thaJeztah/swarmkit.git # master + https://github.com/docker/swarmkit/pull/3015 |
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.
👀
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.
oh! yes, this one needs some coordination with @dperny to update moby/swarmkit#3015 once this is merged, and then revendor swarmkit from upstream after that.
Yay for circular dependencies
e077c91 to
ae92825
Compare
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
ae92825 to
b040b08
Compare
corhere
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.
The migration path away from the deprecated drvregistry functions and methods with unused arguments is to migrate to the new drvregistry.Networks and drvregistry.IPAMs types. I was very deliberate in designing the replacements to force consumers to find another way to pass the PluginGetter when initializing the remote driver than by indirecting it through the driver registry. There is no good reason to modify the signatures of deprecated functions which are going away once Swarmkit migrates away from them.
related moby/swarmkit#3015