aboutsummaryrefslogtreecommitdiff
path: root/go/topology/store_replicate.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/store_replicate.go
parenta5d6e70299559c10126f6ef248f475152303a79a (diff)
downloadseaweedfs-179d36ba0e35e4bdad86988a49828836b649e3df.tar.xz
seaweedfs-179d36ba0e35e4bdad86988a49828836b649e3df.zip
formatting code by: goimports -w=true .
Diffstat (limited to 'go/topology/store_replicate.go')
-rw-r--r--go/topology/store_replicate.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/go/topology/store_replicate.go b/go/topology/store_replicate.go
index 6ea019bd8..0c52f9d30 100644
--- a/go/topology/store_replicate.go
+++ b/go/topology/store_replicate.go
@@ -2,12 +2,13 @@ package topology
import (
"bytes"
+ "net/http"
+ "strconv"
+
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
- "net/http"
- "strconv"
)
func ReplicatedWrite(masterNode string, s *storage.Store, volumeId storage.VolumeId, needle *storage.Needle, r *http.Request) (size uint32, errorStatus string) {