mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
logical/framework: allow the lease max to come from existing lease
This commit is contained in:
@@ -215,7 +215,7 @@ func TestBackendHandleRequest_renew(t *testing.T) {
|
||||
func TestBackendHandleRequest_renewExtend(t *testing.T) {
|
||||
secret := &Secret{
|
||||
Type: "foo",
|
||||
Renew: LeaseExtend(0, 0),
|
||||
Renew: LeaseExtend(0, 0, false),
|
||||
DefaultDuration: 5 * time.Minute,
|
||||
}
|
||||
b := &Backend{
|
||||
|
||||
Reference in New Issue
Block a user