headscale/hscontrol/policy/v2
Kristoffer Dalby 3acce2da87 errors: rewrite errors to follow go best practices
Errors should not start capitalised and they should not contain the word error
or state that they "failed" as we already know it is an error

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
2026-02-06 07:40:29 +01:00
..
filter.go all: use lowercase log messages 2026-02-06 07:40:29 +01:00
filter_test.go policy: fix wildcard DstPorts format and proto:icmp handling 2026-02-05 19:29:16 +01:00
policy.go policy/v2: add IsTagged() guards to prevent panics on tagged nodes 2026-02-03 16:53:15 +01:00
policy_test.go policy/v2: add test for issue #2990 same-user tagged device 2026-02-03 16:53:15 +01:00
tailscale_compat_test.go policy: fix wildcard DstPorts format and proto:icmp handling 2026-02-05 19:29:16 +01:00
tailscale_routes_compat_test.go policy: autogroup:internet does not generate packet filters 2026-02-05 19:29:16 +01:00
types.go errors: rewrite errors to follow go best practices 2026-02-06 07:40:29 +01:00
types_test.go errors: rewrite errors to follow go best practices 2026-02-06 07:40:29 +01:00
utils.go modernize: run gopls modernize to bring up to 1.25 (#2920) 2025-12-01 19:40:25 +01:00
utils_test.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00