mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-23 17:55:17 +00:00
Added more unit tests
This commit is contained in:
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user