Skip to content
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

Correct plugin to work against Docker 25 #257

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Correct plugin to work against Docker 25 #257

merged 2 commits into from
Jan 20, 2024

Conversation

chadlwilson
Copy link
Contributor

@chadlwilson chadlwilson commented Jan 20, 2024

Add hack to override the way ImageInfo is parsed from Docker Engine

The VirtualSize field was deprecated in API 1.43 and removed in API 1.44 but we dont seem to actually rely on it. This hack overrides the class from inside the Spotify docker-client such that the field is considered optional from the API.

Still needs #258 as a longer term fix.

@chadlwilson chadlwilson force-pushed the docker-25 branch 5 times, most recently from 1a16aaf to 49cb882 Compare January 20, 2024 17:08
@chadlwilson chadlwilson changed the title Test against newer Docker Engine versions Correct plugin to work against Docker 25 Jan 20, 2024
@chadlwilson chadlwilson marked this pull request as draft January 20, 2024 17:12
@chadlwilson chadlwilson marked this pull request as ready for review January 20, 2024 17:37
The VirtualSize field was deprecated in API 1.43 and removed in API 1.44 but
we dont seem to actually rely on it. This hack overrides the class from inside
the Spotify docker-client such that the field is considered optional from the API.
@chadlwilson chadlwilson merged commit c4970c9 into master Jan 20, 2024
4 checks passed
@chadlwilson chadlwilson deleted the docker-25 branch January 20, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant