aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/disk_location.go')
-rw-r--r--weed/storage/disk_location.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index dafc0fb4a..853facc49 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -1,13 +1,13 @@
package storage
import (
- "fmt"
+ "fmt"
"github.com/chrislusf/seaweedfs/weed/stats"
- "io/ioutil"
- "os"
+ "io/ioutil"
+ "os"
"path/filepath"
- "strings"
- "sync"
+ "strings"
+ "sync"
"time"
"github.com/chrislusf/seaweedfs/weed/glog"
@@ -16,11 +16,11 @@ import (
)
type DiskLocation struct {
- Directory string
- MaxVolumeCount int
+ Directory string
+ MaxVolumeCount int
MinFreeSpacePercent float32
- volumes map[needle.VolumeId]*Volume
- volumesLock sync.RWMutex
+ volumes map[needle.VolumeId]*Volume
+ volumesLock sync.RWMutex
// erasure coding
ecVolumes map[needle.VolumeId]*erasure_coding.EcVolume
@@ -315,4 +315,4 @@ func (l *DiskLocation) CheckDiskSpace() {
}
}
-} \ No newline at end of file
+}