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

switch to github.com/containerd/log for logs #169

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

thaJeztah
Copy link
Member

No description provided.

@thaJeztah thaJeztah self-assigned this Jun 19, 2024
@estesp estesp merged commit 6556229 into containerd:main Jun 19, 2024
11 checks passed
@@ -368,15 +368,15 @@ func (c *Client) receiveLoop() error {
sid := streamID(msg.header.StreamID)
s := c.getStream(sid)
if s == nil {
logrus.WithField("stream", sid).Errorf("ttrpc: received message on inactive stream")
log.G(c.ctx).WithField("stream", sid).Error("ttrpc: received message on inactive stream")
Copy link
Member Author

Choose a reason for hiding this comment

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

These contexts embedded in the struct seemed awkward; there's probably a reason for this, or it was written long time ago; wondering if someone knows the background and if this is something that needs to be changed.

(I didn't look into history yet)

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