Fixes #998 Added object expiry time to pin ls cmd.
This commit is contained in:
parent
e3e14bd15f
commit
bcbea62efe
|
@ -178,7 +178,7 @@ func textFormatPrintVersion(obj *api.Version) {
|
|||
}
|
||||
|
||||
func textFormatPrintPin(obj *api.Pin) {
|
||||
fmt.Printf("%s | %s | %s | ", obj.Cid, obj.Name, strings.ToUpper(obj.Type.String()))
|
||||
fmt.Printf("%s | %s | %s | %s | ", obj.Cid, obj.Name, strings.ToUpper(obj.Type.String()), obj.ExpireAt.String())
|
||||
|
||||
if obj.ReplicationFactorMin < 0 {
|
||||
fmt.Printf("Repl. Factor: -1 | Allocations: [everywhere]")
|
||||
|
|
Loading…
Reference in New Issue
Block a user