mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-15 19:29:08 +02: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 {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user