Skip to content

Commit

Permalink
revert eventBatch to evtBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
andreek committed Nov 6, 2021
1 parent b8274d8 commit 9ab7488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/wireguard/wireguard_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ func (n *network) Run(ctx context.Context) {

for {
select {
case eventBatch := <-events:
n.handleSubnetEvents(eventBatch)
case evtBatch := <-events:
n.handleSubnetEvents(evtBatch)

case <-ctx.Done():
return
Expand Down

0 comments on commit 9ab7488

Please sign in to comment.