summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/waiter')
-rw-r--r--pkg/waiter/waiter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/waiter/waiter.go b/pkg/waiter/waiter.go
index 56f53f9c3..ab39fa002 100644
--- a/pkg/waiter/waiter.go
+++ b/pkg/waiter/waiter.go
@@ -174,7 +174,7 @@ func (q *Queue) Notify(mask EventMask) {
q.mu.RLock()
for it := q.list.Front(); it != nil; it = it.Next() {
e := it.(*Entry)
- if (mask & e.mask) != 0 {
+ if mask&e.mask != 0 {
e.Callback.Callback(e)
}
}