diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-05 15:27:37 +0900 |
---|---|---|
committer | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-13 13:57:23 +0900 |
commit | 964bb04e22fdbf430d9810f5b362d7844b81e251 (patch) | |
tree | ef887cce13a85bd25ee879a3df8fd3324cb1c3d2 /gobgpd/main.go | |
parent | 57f103ef345deb493f085525ed1674fe18c1dc0e (diff) |
api: Implement Shutdonw()
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r-- | gobgpd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index 99a1c95c..17fcbf81 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -439,7 +439,7 @@ func main() { } } case <-sigCh: - bgpServer.Shutdown() + apiServer.Shutdown(context.Background(), &api.ShutdownRequest{}) } } } |