aboutsummaryrefslogtreecommitdiff
path: root/go/topology/volume_layout.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-10-26 11:34:55 -0700
committerChris Lu <chris.lu@gmail.com>2014-10-26 11:34:55 -0700
commit179d36ba0e35e4bdad86988a49828836b649e3df (patch)
tree90c15051728350d3470fbaa44f8531532bdcf386 /go/topology/volume_layout.go
parenta5d6e70299559c10126f6ef248f475152303a79a (diff)
downloadseaweedfs-179d36ba0e35e4bdad86988a49828836b649e3df.tar.xz
seaweedfs-179d36ba0e35e4bdad86988a49828836b649e3df.zip
formatting code by: goimports -w=true .
Diffstat (limited to 'go/topology/volume_layout.go')
-rw-r--r--go/topology/volume_layout.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/go/topology/volume_layout.go b/go/topology/volume_layout.go
index 7bb0cf7e3..de72bf895 100644
--- a/go/topology/volume_layout.go
+++ b/go/topology/volume_layout.go
@@ -1,11 +1,12 @@
package topology
import (
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/storage"
"errors"
"math/rand"
"sync"
+
+ "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/chrislusf/weed-fs/go/storage"
)
// mapping from volume to its locations, inverted from server to volume