From 7e1c2c62c4a953e8d2f4fedf76db25f628621dc9 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 21 Sep 2015 10:48:06 -0400 Subject: [PATCH] Use 'ttl_seconds' in CLI output so as not to shadow actual 'ttl' parameter --- command/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/format.go b/command/format.go index 909534ee09..effdfd6ded 100644 --- a/command/format.go +++ b/command/format.go @@ -52,7 +52,7 @@ func outputFormatTable(ui cli.Ui, s *api.Secret, whitespace bool) int { "lease_duration %s %d", config.Delim, s.LeaseDuration)) } else { input = append(input, fmt.Sprintf( - "ttl %s %d", config.Delim, s.LeaseDuration)) + "ttl_seconds %s %d", config.Delim, s.LeaseDuration)) } if s.LeaseID != "" { input = append(input, fmt.Sprintf(