summaryrefslogtreecommitdiffhomepage
path: root/api/grpc_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r--api/grpc_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index d4fb4674..81ab2ff0 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -1136,7 +1136,7 @@ func NewDefinedSetFromApiStruct(a *DefinedSet) (table.DefinedSet, error) {
}
func (s *Server) GetDefinedSet(ctx context.Context, arg *GetDefinedSetRequest) (*GetDefinedSetResponse, error) {
- cd, err := s.bgpServer.GetDefinedSet(table.DefinedType(arg.Type))
+ cd, err := s.bgpServer.GetDefinedSet(table.DefinedType(arg.Type), arg.Name)
if err != nil {
return nil, err
}