Skip to content

api: Deprecate outdated fields in NetworkSettingsBase#47015

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:api_fields_deprecation
Jan 3, 2024
Merged

api: Deprecate outdated fields in NetworkSettingsBase#47015
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:api_fields_deprecation

Conversation

@thaJeztah
Copy link
Member

The following fields are never written and are now marked as deprecated:

  • HairpinMode
  • LinkLocalIPv6Address
  • LinkLocalIPv6PrefixLen
  • SecondaryIPAddress
  • SecondaryIPv6Addresses

- What I did

- How I did it

- How to verify it

- Description for the changelog

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

api/swagger.yaml Outdated
Name of the default bridge interface when dockerd's --bridge flag is set.
type: "string"
example: "docker0"
example: ""
Copy link
Member

Choose a reason for hiding this comment

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

Is this deprecated too? Otherwise probably no need to remove this example.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah! Good one; it looks like another commit in that PR added it back; 841932c

Let me merge those changes to the swagger file into this commit.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated; PTAL

Copy link
Member

Choose a reason for hiding this comment

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

Oh, looks like I amended the wrong commit 🙈

The following fields are never written and are now marked as deprecated:

- `HairpinMode`
- `LinkLocalIPv6Address`
- `LinkLocalIPv6PrefixLen`
- `SecondaryIPAddress`
- `SecondaryIPv6Addresses`

Co-authored-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Albin Kerouanton <[email protected]>
@thaJeztah thaJeztah force-pushed the api_fields_deprecation branch from e0d2750 to ce57494 Compare January 3, 2024 17:51
Copy link
Member

@akerouanton akerouanton left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit e7001c1 into moby:master Jan 3, 2024
@thaJeztah thaJeztah deleted the api_fields_deprecation branch January 3, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants