From b80af5a993ec5b4e3b9b43070e8aed275d7871a2 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 18 Dec 2017 10:11:24 -0500 Subject: [PATCH] Fix up comment --- api/renewer.go | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/api/renewer.go b/api/renewer.go index c12474d803..b61ef0245b 100644 --- a/api/renewer.go +++ b/api/renewer.go @@ -81,14 +81,9 @@ type RenewerInput struct { // dispatched. RenewBuffer int - //Increment specifies the new TTL that should be set on the lease, - //where the TTL starts when the renew operation completes successfully. - //The TTL set here may or may not be honored by the vault server, - //depending on the max TTLs associated with the lease. If the new TTL, - //specified here exceeds a max TTL, then the vault server may set the lease TTL - //to a value less than the max TTL. - //There can be multiple max ttls associated with a lease: role, mount, and system. - //To avoid unexpected expiration times, ensure the increment does not exceed any of those max ttls. + // The new TTL, in seconds, that should be set on the lease. The TTL set + // here may or may not be honored by the vault server, based on Vault + // configuration or any associated max TTL values. Increment int }