Skip to content

Commit

Permalink
auth: cleanup saveConsistentIndex in NewAuthStore
Browse files Browse the repository at this point in the history
  • Loading branch information
tangcong committed Mar 10, 2020
1 parent ebe256d commit 0d084d3
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 0d084d3

Please sign in to comment.