diff options
| author | bingoohuang <bingoo.huang@gmail.com> | 2019-01-17 09:17:19 +0800 |
|---|---|---|
| committer | bingoohuang <bingoo.huang@gmail.com> | 2019-01-17 09:17:19 +0800 |
| commit | ab6be025d76748388ad3eea6fe6ca000db1c2435 (patch) | |
| tree | 1be9b1b5e7f91693f4cabe3ae0d114cb7f7dced6 /weed/storage/volume.go | |
| parent | 6ddfaf33cba953b92a5e3383a15bf26ab1845dbc (diff) | |
| download | seaweedfs-ab6be025d76748388ad3eea6fe6ca000db1c2435.tar.xz seaweedfs-ab6be025d76748388ad3eea6fe6ca000db1c2435.zip | |
go fmt and fix some typo
Diffstat (limited to 'weed/storage/volume.go')
| -rw-r--r-- | weed/storage/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume.go b/weed/storage/volume.go index 8ca6d3ffa..07c72ecb4 100644 --- a/weed/storage/volume.go +++ b/weed/storage/volume.go @@ -120,7 +120,7 @@ func (v *Volume) expired(volumeSizeLimit uint64) bool { } // wait either maxDelayMinutes or 10% of ttl minutes -func (v *Volume) exiredLongEnough(maxDelayMinutes uint32) bool { +func (v *Volume) expiredLongEnough(maxDelayMinutes uint32) bool { if v.Ttl == nil || v.Ttl.Minutes() == 0 { return false } |
