Skip to content

Conversation

@dmcgowan
Copy link
Member

Fix for #5314

select {
case <-ctx.Done():
abort()
abort(context.Background()) // Cleanup context
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wonder that the ctx won't work if the client doesn't set default namespace.
Maybe we can extract namespace from orignal contxt and set it into cleanup context?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this change I was playing around with #7861

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the #7861 's change. It looks great!

@kzys kzys merged commit 84b81a8 into containerd:main Dec 23, 2022
@dmcgowan dmcgowan deleted the unpacker-warn-remove branch April 20, 2024 00:46
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.

4 participants