Use 'ttl_seconds' in CLI output so as not to shadow actual 'ttl' parameter

This commit is contained in:
Jeff Mitchell 2015-09-21 10:48:06 -04:00
parent 425e286f90
commit e7dfb4f943
1 changed files with 1 additions and 1 deletions

View File

@ -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(