Skip to content

Commit

Permalink
etcdserver: call refreshRangePermCache on Recover() in AuthStore
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Guba <oleg@dropbox.com>
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
  • Loading branch information
mitake committed Oct 29, 2022
1 parent 0b3ff06 commit b7a2331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ func (as *authStore) Recover(be backend.Backend) {
}

as.setRevision(getRevision(tx))
as.refreshRangePermCache(tx)

tx.Unlock()

Expand Down

0 comments on commit b7a2331

Please sign in to comment.