Skip to content

Conversation

@thaJeztah
Copy link
Member

No description provided.

@thaJeztah thaJeztah requested review from dmcgowan and estesp June 19, 2024 21:23
@thaJeztah thaJeztah self-assigned this Jun 19, 2024
@estesp estesp merged commit 6556229 into containerd:main Jun 19, 2024
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