Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Samylkin committed Feb 24, 2017
1 parent 84e85b7 commit 9adaa9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/rpc/yarpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import (
// register it in a dig.Graph provided with options/default graph.
type YARPCModule struct {
modules.ModuleBase
register registerServiceFunc
config yarpcConfig
log ulog.Log
statsClient *statsClient
Expand Down Expand Up @@ -184,7 +183,7 @@ func (c *dispatcherController) addDefaultMiddleware(host service.Host, statsClie
// 4. Start the dispatcher
//
// Once started the controller will not start the dispatcher again.
func (c *dispatcherController) Start(host service.Host) error {
func (c *dispatcherController) Start(host service.Host, statsClient *statsClient) error {
c.start.Do(func() {
c.addDefaultMiddleware(host, statsClient)

Expand Down

0 comments on commit 9adaa9e

Please sign in to comment.