fix lint warnings

This commit is contained in:
Darien Raymond
2018-11-13 23:19:58 +01:00
parent c5ccbe6b63
commit a14fae4b35
11 changed files with 26 additions and 17 deletions
+2 -2
View File
@@ -131,10 +131,10 @@ func (s *service) Register(server *grpc.Server) {
hs := &handlerServer{
s: s.v,
}
s.v.RequireFeatures(func(im inbound.Manager, om outbound.Manager) {
common.Must(s.v.RequireFeatures(func(im inbound.Manager, om outbound.Manager) {
hs.ihm = im
hs.ohm = om
})
}))
RegisterHandlerServiceServer(server, hs)
}