Skip to content

Conversation

@thaJeztah
Copy link
Member

Copy link
Member Author

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

@thaJeztah thaJeztah added area/networking Networking kind/refactor PR's that refactor, or clean-up code status/2-code-review labels Jun 30, 2021
@thaJeztah thaJeztah marked this pull request as ready for review June 30, 2021 11:34
vendor.conf Outdated
Copy link
Member Author

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

@thaJeztah thaJeztah force-pushed the libnetwork_remove_unused_args branch 2 times, most recently from ee639f6 to 5e068d8 Compare August 7, 2021 16:35
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Copy link
Member Author

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

@thaJeztah thaJeztah marked this pull request as draft June 30, 2023 09:55
@thaJeztah thaJeztah force-pushed the libnetwork_remove_unused_args branch 2 times, most recently from e077c91 to ae92825 Compare July 4, 2023 10:42
thaJeztah added 3 commits July 4, 2023 13:28
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>
@thaJeztah thaJeztah force-pushed the libnetwork_remove_unused_args branch from ae92825 to b040b08 Compare July 4, 2023 11:31
Copy link
Contributor

@corhere corhere left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Networking kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants