diff options
Diffstat (limited to 'weed/storage/volume_tier.go')
| -rw-r--r-- | weed/storage/volume_tier.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_tier.go b/weed/storage/volume_tier.go index e124bfbe6..198f1e23d 100644 --- a/weed/storage/volume_tier.go +++ b/weed/storage/volume_tier.go @@ -76,7 +76,7 @@ func (v *Volume) SaveVolumeInfo() error { if v.Ttl != nil { ttlSeconds := v.Ttl.ToSeconds() if ttlSeconds > 0 { - v.volumeInfo.DestroyTime = uint64(time.Now().Unix()) + ttlSeconds //calculated destroy time from the ec volume was created + v.volumeInfo.ExpireAtSec = uint64(time.Now().Unix()) + ttlSeconds //calculated destroy time from the ec volume was created } } |
