Skip to content

Commit

Permalink
backport of commit 1dc7a96 (#18158)
Browse files Browse the repository at this point in the history
Co-authored-by: Violet Hynes <[email protected]>
  • Loading branch information
1 parent b523516 commit 40a3a94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vault/expiration.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ type pendingInfo struct {
cachedLeaseInfo *leaseEntry
timer *time.Timer
revokesAttempted uint8
loginRole string
}

// ExpirationManager is used by the Core to manage leases. Secrets
Expand Down Expand Up @@ -1877,6 +1878,7 @@ func (m *ExpirationManager) updatePendingInternal(le *leaseEntry) {
leaseCreated = true
}

pending.loginRole = le.LoginRole
pending.cachedLeaseInfo = m.inMemoryLeaseInfo(le)
m.pending.Store(le.LeaseID, pending)
}
Expand Down

0 comments on commit 40a3a94

Please sign in to comment.