summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 1b49880d..ef8bd3c8 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -3492,9 +3492,6 @@ func (s *BgpServer) ListPolicyAssignment(ctx context.Context, r *api.ListPolicyA
if err != nil {
return err
}
- if len(policies) == 0 {
- continue
- }
t := &table.PolicyAssignment{
Name: name,
Type: dir,