Commit 1218d62e authored by gukq's avatar gukq

Just repair spelling mistake

Signed-off-by: default avatargukq <gukaiqiang@gmail.com>
parent 562c3ba3
......@@ -124,7 +124,7 @@ func (p *Poller) WaitWriteCtx(ctx context.Context) error {
}
if ctx.Err() == nil {
// notification is sent by other goroutine when context deadline was reached
// if we are here it means that we got notification buy the deadline wasn't reached
// if we are here it means that we got notification but the deadline wasn't reached
panic("notification but no deadline, this should be impossible")
}
return ctx.Err()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment