diff options
Diffstat (limited to 'pkg/server/grpc_server.go')
-rw-r--r-- | pkg/server/grpc_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index 1d99cfc0..ccd3b613 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -297,7 +297,7 @@ func (s *Server) SetPolicies(ctx context.Context, r *api.SetPoliciesRequest) (*e return &empty.Empty{}, s.bgpServer.SetPolicies(ctx, r) } -func NewRoutingPolicyFromApiStruct(arg *api.SetPoliciesRequest) (*config.RoutingPolicy, error) { +func newRoutingPolicyFromApiStruct(arg *api.SetPoliciesRequest) (*config.RoutingPolicy, error) { policyDefinitions := make([]config.PolicyDefinition, 0, len(arg.Policies)) for _, p := range arg.Policies { pd, err := newConfigPolicyFromApiStruct(p) |