Skip to content

Commit

Permalink
auth/store: no need to save consistentIndex in NewAuthStore(no comman…
Browse files Browse the repository at this point in the history
…d is executed)
  • Loading branch information
tangcong committed Mar 3, 2020
1 parent aa15660 commit d17dca1
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 @@ -1070,7 +1070,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 d17dca1

Please sign in to comment.