Make services/admin golintable

pull/8058/head
Karl 2017-02-24 22:21:30 -05:00
parent 566d842179
commit 4171d6a843
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func (s *Service) Close() error {
return nil
}
// WithLogger sets the logger for the service
func (s *Service) WithLogger(log zap.Logger) {
s.logger = log.With(zap.String("service", "admin"))
}