Skip to content

Commit

Permalink
auth: no need to save consistentIndex in NewAuthStore(no command is e…
Browse files Browse the repository at this point in the history
…xecuted)
  • Loading branch information
tangcong committed Mar 9, 2020
1 parent 139a6bc commit c721682
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion auth/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,6 @@ func NewAuthStore(lg *zap.Logger, be backend.Backend, tp TokenProvider, bcryptCo

if as.Revision() == 0 {
as.commitRevision(tx)
as.saveConsistentIndex(tx)
}

as.setupMetricsReporter()
Expand Down

0 comments on commit c721682

Please sign in to comment.