Added more unit tests
This commit is contained in:
parent
07e95393b3
commit
d0e970f21d
7 changed files with 165 additions and 11 deletions
3
acls.go
3
acls.go
|
@ -9,7 +9,6 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/tailscale/hujson"
|
||||
"inet.af/netaddr"
|
||||
"tailscale.com/tailcfg"
|
||||
|
@ -82,8 +81,6 @@ func (h *Headscale) generateACLRules() (*[]tailcfg.FilterRule, error) {
|
|||
DstPorts: destPorts,
|
||||
})
|
||||
}
|
||||
// fmt.Println(rules)
|
||||
spew.Dump(rules)
|
||||
|
||||
return &rules, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue