Use 'ttl_seconds' in CLI output so as not to shadow actual 'ttl' parameter
This commit is contained in:
parent
425e286f90
commit
e7dfb4f943
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue