mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 15:27:37 +00:00
fix sighup issue with empty acl (#2296)
Fixes #2291 Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
@@ -211,6 +211,10 @@ type PolicyConfig struct {
|
||||
Mode PolicyMode
|
||||
}
|
||||
|
||||
func (p *PolicyConfig) IsEmpty() bool {
|
||||
return p.Mode == PolicyModeFile && p.Path == ""
|
||||
}
|
||||
|
||||
type LogConfig struct {
|
||||
Format string
|
||||
Level zerolog.Level
|
||||
|
Reference in New Issue
Block a user