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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index b8b9e6fa..e36ff26d 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -1611,7 +1611,7 @@ func (s *BgpServer) StopBgp(ctx context.Context, r *api.StopBgpRequest) error {
}
func (s *BgpServer) SetPolicies(ctx context.Context, r *api.SetPoliciesRequest) error {
- rp, err := NewRoutingPolicyFromApiStruct(r)
+ rp, err := newRoutingPolicyFromApiStruct(r)
if err != nil {
return err
}