diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-05-06 05:47:54 -0400 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-05-06 09:30:10 -0400 |
commit | 86d9587f757fe728996d36c4acfbf7417fda4fb2 (patch) | |
tree | 80bab06a054dcfb76a376ae53537bc5afc86f326 /api/grpc_server.go | |
parent | 897adf530cfe0247f3b5d8e60d846cdbdc7c1b88 (diff) |
cli: speed up showing a specific defined-set
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r-- | api/grpc_server.go | 2 |
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 } |