aboutsummaryrefslogtreecommitdiff
path: root/go/operation/allocate_volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-02-26 22:54:22 -0800
committerChris Lu <chris.lu@gmail.com>2013-02-26 22:54:22 -0800
commitdb8e27be6ec7daa1a188f90f61e385c04cb6b008 (patch)
tree33e53b6ec51157709bc6121adeb8b19fe668c79b /go/operation/allocate_volume.go
parentbd278337db4e3c1937f2d7cd1623ee9627c77619 (diff)
downloadseaweedfs-db8e27be6ec7daa1a188f90f61e385c04cb6b008.tar.xz
seaweedfs-db8e27be6ec7daa1a188f90f61e385c04cb6b008.zip
add lots of error checking by GThomas
Diffstat (limited to 'go/operation/allocate_volume.go')
-rw-r--r--go/operation/allocate_volume.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/operation/allocate_volume.go b/go/operation/allocate_volume.go
index 19166eaed..ea34901ef 100644
--- a/go/operation/allocate_volume.go
+++ b/go/operation/allocate_volume.go
@@ -1,12 +1,12 @@
package operation
import (
- "encoding/json"
- "errors"
- "net/url"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"code.google.com/p/weed-fs/go/util"
+ "encoding/json"
+ "errors"
+ "net/url"
)
type AllocateVolumeResult struct {