Browse Source

Update volume_ttl_test.go

pull/1652/head
Chris Lu 4 years ago
parent
commit
b219ccfe68
  1. 2
      weed/storage/needle/volume_ttl_test.go

2
weed/storage/needle/volume_ttl_test.go

@ -41,7 +41,7 @@ func TestTTLReadWrite(t *testing.T) {
} }
ttl, _ = ReadTTL("5M") ttl, _ = ReadTTL("5M")
if ttl.Minutes() != 5*31*24*60 {
if ttl.Minutes() != 5*30*24*60 {
t.Errorf("5M ttl:%v", ttl) t.Errorf("5M ttl:%v", ttl)
} }

Loading…
Cancel
Save