fix lint warnings

This commit is contained in:
Darien Raymond committed 2018-11-13 23:19:58 +01:00
1 parent c5ccbe6b63
commit a14fae4b35
11 files changed
+26 -17

No files matched your search

+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)
}