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 44529e8 commit d688e97
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 @@ -1066,7 +1066,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 d688e97

Please sign in to comment.