diff options
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/server.go b/server/server.go index bad4c760..4caa38b2 100644 --- a/server/server.go +++ b/server/server.go @@ -2572,14 +2572,6 @@ func (s *BgpServer) ReplacePolicyAssignment(name string, dir table.PolicyDirecti return err } -func grpcDone(grpcReq *GrpcRequest, e error) { - result := &GrpcResponse{ - ResponseErr: e, - } - grpcReq.ResponseCh <- result - close(grpcReq.ResponseCh) -} - func (s *BgpServer) EnableMrt(c *config.Mrt) (err error) { ch := make(chan struct{}) defer func() { <-ch }() |