Skip to content

avoid import to testing pkg outside of tests#128

Open
tonistiigi wants to merge 1 commit intocontainerd:mainfrom
tonistiigi:remove-testing-import
Open

avoid import to testing pkg outside of tests#128
tonistiigi wants to merge 1 commit intocontainerd:mainfrom
tonistiigi:remove-testing-import

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

Go deadcode removal is not very smart, especially if other code that imports this pkg uses reflect.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@cpuguy83
Copy link
Copy Markdown
Member

cpuguy83 commented Jul 1, 2025

Looks like a go mod update is needed.

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.

2 participants