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

deprecate pkg/platform and move internal #48862

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

thaJeztah
Copy link
Member

Functions in this package are only used internally in the daemon for the /info endpoint (Architecture), and as part of stats (NumProcs).

I was not able to find external consumers, but deprecating the package first, so that we can remove / dismantle the package in a follow-up.

- What I did

- How I did it

- How to verify it

- Description for the changelog

deprecate pkg/platform: this package is only used internally, and will be removed in the next release.

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

Functions in this package are only used internally in the daemon for
the `/info` endpoint (Architecture), and as part of `stats` (NumProcs).

I was not able to find external consumers, but deprecating the package
first, so that we can remove / dismantle the package in a follow-up.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review impact/changelog impact/deprecation area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Nov 13, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Nov 13, 2024
@thaJeztah thaJeztah mentioned this pull request Oct 28, 2024
74 tasks
@thaJeztah
Copy link
Member Author

Oh! Docker Hub having a bad day?

Error: Error response from daemon: Head "https://registry-1.docker.io/v2/tonistiigi/binfmt/manifests/latest": Get "https://auth.docker.io/token?account=githubactions&scope=repository%3Atonistiigi%2Fbinfmt%3Apull&service=registry.docker.io": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

@thaJeztah
Copy link
Member Author

let me close/reopen to trigger CI

@thaJeztah thaJeztah closed this Nov 13, 2024
@thaJeztah thaJeztah reopened this Nov 13, 2024
@thaJeztah
Copy link
Member Author

Jenkins is green, but didn't report status to GitHub; I'll bring this one in

@thaJeztah thaJeztah merged commit d0a4bbc into moby:master Nov 13, 2024
202 of 232 checks passed
@thaJeztah thaJeztah deleted the deprecate_pkg_platform branch November 13, 2024 17:24
@thaJeztah thaJeztah self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants