Skip to content

Conversation

@thaJeztah
Copy link
Member

The VirtualSize field is deprecated and the upcoming API version v1.44 will no longer propagate the field. See:
moby/moby@1261fe6 (moby/moby#45346).

Given that in docker 1.10 and up (API v1.22), the VirtualSize and Size fields contain the same value, and the "df" endpoint was not supported until API v1.25, we can "safely" use Size instead; see:

- 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)

The VirtualSize field is deprecated and the upcoming API version v1.44
will no longer propagate the field. See:
moby/moby@1261fe6,

Given that in docker 1.10 and up (API v1.22), the VirtualSize and Size
fields contain the same value, and the "df" endpoint was not supported
until API v1.25, we can "safely" use Size instead; see:

- docker@4ae7176
- moby/moby@4352da7

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copy link
Collaborator

@laurazard laurazard 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
Copy link
Member Author

Thanks!

@thaJeztah thaJeztah merged commit 6918195 into docker:master Apr 28, 2023
@thaJeztah thaJeztah deleted the dont_use_deprecated_virtualsize branch April 28, 2023 13:51
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.

2 participants