Skip to content

libnetwork/d/overlay: drop unused miss flags from peerAdd#47234

Merged
akerouanton merged 2 commits into
moby:masterfrom
corhere:libn/overlay-peerdb-unused-flags
Jan 29, 2024
Merged

libnetwork/d/overlay: drop unused miss flags from peerAdd#47234
akerouanton merged 2 commits into
moby:masterfrom
corhere:libn/overlay-peerdb-unused-flags

Conversation

@corhere

@corhere corhere commented Jan 26, 2024

Copy link
Copy Markdown
Contributor

- What I did
The l2Miss and l3Miss boolean arguments to func (*driver) peerAdd and peerAddOp were only used with Serf-based clustering, which has been removed. All callers now unconditionally pass false for both flags. Propagate the constants and drop the arguments.

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

as all callers unconditionally set them to false.

Signed-off-by: Cory Snider <csnider@mirantis.com>
as all callers unconditionally set them to false.

Signed-off-by: Cory Snider <csnider@mirantis.com>
@corhere corhere added area/networking Networking kind/refactor PR's that refactor, or clean-up code area/networking/d/overlay Networking labels Jan 26, 2024
@corhere corhere added this to the 26.0.0 milestone Jan 26, 2024

@akerouanton akerouanton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

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

Labels

area/networking/d/overlay Networking area/networking Networking kind/refactor PR's that refactor, or clean-up code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants