Merge pull request #1716 from ipfs-cluster/fix/1666-expire-in
ctl: Expiration date in "pin ls" was showing wrong field (timestamp)
This commit is contained in:
commit
2ad9e7e71a
|
@ -241,7 +241,7 @@ func textFormatPrintPin(obj api.Pin) {
|
|||
}
|
||||
expireAt := "∞"
|
||||
if !obj.ExpireAt.IsZero() {
|
||||
expireAt = obj.Timestamp.Format("2006-01-02 15:04:05")
|
||||
expireAt = obj.ExpireAt.Format("2006-01-02 15:04:05")
|
||||
}
|
||||
fmt.Printf(" | Exp: %s", expireAt)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user