Skip to content

Commit

Permalink
etcdserver: support structured logging for auth
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Apr 27, 2018
1 parent c302ca4 commit 6c1f261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func NewServer(cfg ServerConfig) (srv *EtcdServer, err error) {
}
return nil, err
}
srv.authStore = auth.NewAuthStore(srv.be, tp)
srv.authStore = auth.NewAuthStore(srv.getLogger(), srv.be, tp)
if num := cfg.AutoCompactionRetention; num != 0 {
srv.compactor, err = compactor.New(cfg.Logger, cfg.AutoCompactionMode, num, srv.kv, srv)
if err != nil {
Expand Down

0 comments on commit 6c1f261

Please sign in to comment.