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

pkg/plugins: some cleaning up (step 2) #46080

Merged
merged 4 commits into from
Aug 8, 2023

Conversation

thaJeztah
Copy link
Member

pkg/plugins: add convenience alias for VersionMimeType

Add an alias in the pkg/plugins package.

integration-cli: use plugin Content-Type headers v1.2

The MediaType was changed twice in;

But the (integration) tests were still using the old version, so let's
use the VersionMimeType const that's defined, and use the updated version.

libnetwork: use plugin Content-Type headers v1.2

same

volume/drivers: use plugin Content-Type headers v1.2

same

- Description for the changelog

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

@thaJeztah thaJeztah changed the title Pkg plugin cleanup step2 pkg/plugins: some cleaning up (step 2) Jul 26, 2023
@thaJeztah thaJeztah marked this pull request as ready for review July 26, 2023 14:53
@thaJeztah thaJeztah requested a review from cpuguy83 August 1, 2023 13:54
Add an alias in the pkg/plugins package.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The MediaType was changed twice in;

- b3b7eb2 ("application/vnd.docker.plugins.v1+json"   -> "application/vnd.docker.plugins.v1.1+json")
- 54587d8 ("application/vnd.docker.plugins.v1.1+json" -> "application/vnd.docker.plugins.v1.2+json")

But the (integration) tests were still using the old version, so let's
use the VersionMimeType const that's defined, and use the updated version.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The MediaType was changed twice in;

- b3b7eb2 ("application/vnd.docker.plugins.v1+json"   -> "application/vnd.docker.plugins.v1.1+json")
- 54587d8 ("application/vnd.docker.plugins.v1.1+json" -> "application/vnd.docker.plugins.v1.2+json")

But the (integration) tests were still using the old version, so let's
use the VersionMimeType const that's defined, and use the updated version.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The MediaType was changed twice in;

- b3b7eb2 ("application/vnd.docker.plugins.v1+json"   -> "application/vnd.docker.plugins.v1.1+json")
- 54587d8 ("application/vnd.docker.plugins.v1.1+json" -> "application/vnd.docker.plugins.v1.2+json")

But the (integration) tests were still using the old version, so let's
use the VersionMimeType const that's defined, and use the updated version.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the pkg_plugin_cleanup_STEP2 branch from a9720d9 to 3e52785 Compare August 7, 2023 18:39
@thaJeztah
Copy link
Member Author

Rebased to get a fresh run of CI

@thaJeztah
Copy link
Member Author

@cpuguy83 @vvoland ptal 🤗

@thaJeztah thaJeztah added this to the 25.0.0 milestone Aug 8, 2023
@thaJeztah thaJeztah merged commit 4ab4330 into moby:master Aug 8, 2023
@thaJeztah thaJeztah deleted the pkg_plugin_cleanup_STEP2 branch August 8, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants