diff options
| author | chrislu <chris.lu@gmail.com> | 2024-10-24 21:35:11 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-10-24 21:35:11 -0700 |
| commit | ae5bd0667a7f88028a699e3dee483fd14929de2b (patch) | |
| tree | 84cfc0a923d1440b650837512a01debd71c84670 /weed/shell/command_volume_list.go | |
| parent | 1c2b10303aab6961bc005dbf41df81209f839335 (diff) | |
| download | seaweedfs-ae5bd0667a7f88028a699e3dee483fd14929de2b.tar.xz seaweedfs-ae5bd0667a7f88028a699e3dee483fd14929de2b.zip | |
rename proto field from DestroyTime to expire_at_sec
For TTL volume converted into EC volume, this change may leave the volumes staying.
Diffstat (limited to 'weed/shell/command_volume_list.go')
| -rw-r--r-- | weed/shell/command_volume_list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go index 1e5238f39..44efd8a36 100644 --- a/weed/shell/command_volume_list.go +++ b/weed/shell/command_volume_list.go @@ -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") } |
