From 86d9587f757fe728996d36c4acfbf7417fda4fb2 Mon Sep 17 00:00:00 2001 From: Wataru Ishida Date: Sat, 6 May 2017 05:47:54 -0400 Subject: cli: speed up showing a specific defined-set Signed-off-by: Wataru Ishida --- api/grpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/grpc_server.go') 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 } -- cgit v1.2.3