diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-01-21 23:44:57 -0500 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-01-21 23:44:57 -0500 |
commit | 99ed1e73d7fe2245c36e4adb5f5cd924c4d55516 (patch) | |
tree | 4a999e64af06cde508241aef8c0b92244b78c28f /api/grpc_server.go | |
parent | 8798014bd0dc80cfe972c81a510ab0c8c22bed9a (diff) |
server: fix a bug of error handling
when using named return for management operations, we need to substitute
the return value of (*BgpServer).mgmtOperation() to a valiable 'err' for
proper error propagation.
close #1215
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/grpc_server.go')
0 files changed, 0 insertions, 0 deletions