Skip to content

Conversation

@Benehiko
Copy link
Member

@Benehiko Benehiko commented Mar 7, 2024

This is a WIP and I might still reduce the places where we pass ctx to.

Follow up to #4774 and depends on moby/moby#47518

- What I did
Add more context to each function call.

- How I did it

- How to verify it

- Description for the changelog

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

Signed-off-by: Alano Terblanche <[email protected]>
@Benehiko Benehiko self-assigned this Mar 8, 2024
Copy link
Member Author

Choose a reason for hiding this comment

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

todo: delete this file.

Comment on lines +30 to +37
otelShutdown, err := setupOTelSDK(ctx)
if err != nil {
return
}
// Handle shutdown properly so nothing leaks.
defer func() {
otelShutdown(context.Background())
}()
Copy link
Member Author

Choose a reason for hiding this comment

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

ignore this. accidental commit

@Benehiko
Copy link
Member Author

Closing this. A lot has changed here and if we see more ctx problems we can address them over time.

@Benehiko Benehiko closed this Apr 26, 2024
@Benehiko Benehiko deleted the cli-ctx branch April 26, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant