mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-26 06:19:08 +01:00
Remove double error log
This commit is contained in:
@@ -148,7 +148,7 @@ func (g *AuthzGate) authorize(ctx context.Context, method string, msg any) error
|
|||||||
}
|
}
|
||||||
for _, rule := range policy.Rules {
|
for _, rule := range policy.Rules {
|
||||||
if err := rule(req); err != nil {
|
if err := rule(req); err != nil {
|
||||||
log.Warnf("ipc authz: DENY %s for %s (%s): %v", method, id, req.Level, err)
|
log.Warnf("ipc authz: DENY %s for %s (%s): error", method, id, req.Level)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user