Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-reuseport
Commits
1218d62e
Commit
1218d62e
authored
Sep 04, 2018
by
gukq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just repair spelling mistake
Signed-off-by:
gukq
<
gukaiqiang@gmail.com
>
parent
562c3ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
poll/poll_linux.go
poll/poll_linux.go
+1
-1
No files found.
poll/poll_linux.go
View file @
1218d62e
...
...
@@ -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 bu
y
the deadline wasn't reached
// if we are here it means that we got notification bu
t
the deadline wasn't reached
panic
(
"notification but no deadline, this should be impossible"
)
}
return
ctx
.
Err
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment