fixes from review

This commit is contained in:
Ethan Buchman
2016-08-17 23:27:49 -04:00
parent 1b13f14e08
commit 83920a1c37
3 changed files with 19 additions and 24 deletions

View File

@ -8,7 +8,7 @@ import (
)
type localClient struct {
*BaseService
BaseService
mtx *sync.Mutex
types.Application
Callback
@ -22,7 +22,7 @@ func NewLocalClient(mtx *sync.Mutex, app types.Application) *localClient {
mtx: mtx,
Application: app,
}
cli.BaseService = NewBaseService(log, "localClient", cli)
cli.BaseService = *NewBaseService(log, "localClient", cli)
return cli
}