mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 07:05:28 +08:00
fixing a pointless check I didn't write
This commit is contained in:
parent
541e232ad7
commit
3ab4b5be33
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@ package logic
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
|
@ -17,7 +18,8 @@ func TestCheckPorts(t *testing.T) {
|
|||
peerUpdate := make(chan *models.Node)
|
||||
go ManageZombies(context.Background(), peerUpdate)
|
||||
go func() {
|
||||
for _ = range peerUpdate {
|
||||
for y := range peerUpdate {
|
||||
fmt.Printf("Pointless %v\n", y)
|
||||
//do nothing
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Add table
Reference in a new issue