diff options
author | Jeff Bean <bean@uber.com> | 2018-06-22 19:12:33 -0700 |
---|---|---|
committer | Jeff Bean <bean@uber.com> | 2018-06-22 19:12:33 -0700 |
commit | 154650594c5b40b2905eb73b90f52de72f6ced16 (patch) | |
tree | 2ba6ffe099ff216a92df7fb3806eb9aeaa988208 /server/zclient.go | |
parent | 954562d65a90af4e8d2e9bf29e4c2bccc4420b38 (diff) |
Fixing all megacheck errors.
Diffstat (limited to 'server/zclient.go')
-rw-r--r-- | server/zclient.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/zclient.go b/server/zclient.go index d5b026ac..37281f7f 100644 --- a/server/zclient.go +++ b/server/zclient.go @@ -283,10 +283,6 @@ type zebraClient struct { dead chan struct{} } -func (z *zebraClient) stop() { - close(z.dead) -} - func (z *zebraClient) getPathListWithNexthopUpdate(body *zebra.NexthopUpdateBody) []*table.Path { rib := &table.TableManager{ Tables: make(map[bgp.RouteFamily]*table.Table), @@ -326,7 +322,6 @@ func (z *zebraClient) updatePathByNexthopCache(paths []*table.Path) { }).Error("failed to update nexthop reachability") } } - return } func (z *zebraClient) loop() { |