It's sometimes useful to specify a custom lease configuration. In this case clients have to deal with LeaseManager manually to create/defer delete lease (essentially dup WithLease logic). This PR adds lease opts to WithLease, so options can be specified inline. Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
1.3 KiB
1.3 KiB