mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
auth: cleanup saveConsistentIndex in NewAuthStore
This commit is contained in:
parent
ebe256d61c
commit
0d084d3a08
@ -1070,7 +1070,6 @@ func NewAuthStore(lg *zap.Logger, be backend.Backend, tp TokenProvider, bcryptCo
|
|||||||
|
|
||||||
if as.Revision() == 0 {
|
if as.Revision() == 0 {
|
||||||
as.commitRevision(tx)
|
as.commitRevision(tx)
|
||||||
as.saveConsistentIndex(tx)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
as.setupMetricsReporter()
|
as.setupMetricsReporter()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user