mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 08:20:42 +01:00
rename proto field from DestroyTime to expire_at_sec
For TTL volume converted into EC volume, this change may leave the volumes staying.
This commit is contained in:
1 parent
1c2b10303a
commit
ae5bd0667a
25 files changed
+2052
-2578
No files matched your search
@@ -180,7 +180,7 @@ func (c *commandVolumeList) writeDiskInfo(writer io.Writer, t *master_pb.DiskInf
|
||||
}
|
||||
|
||||
var destroyTimeDisplay string
|
||||
destroyTime := ecShardInfo.DestroyTime
|
||||
destroyTime := ecShardInfo.ExpireAtSec
|
||||
if destroyTime > 0 {
|
||||
destroyTimeDisplay = time.Unix(int64(destroyTime), 0).Format("2006-01-02 15:04:05")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user