aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-10-11 00:08:13 -0700
committerChris Lu <chris.lu@gmail.com>2018-10-11 00:08:13 -0700
commit08266b7256e8b81bf4e846cd392a6b988dca60e8 (patch)
tree1b368539ba9b94d8f51f67b5d9c3ecf04ad54662 /weed/command
parent1d7e01b754069d188094e110fe8c5a5141ac3519 (diff)
downloadseaweedfs-08266b7256e8b81bf4e846cd392a6b988dca60e8.tar.xz
seaweedfs-08266b7256e8b81bf4e846cd392a6b988dca60e8.zip
go fmt
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer_replication.go6
-rw-r--r--weed/command/volume.go11
2 files changed, 9 insertions, 8 deletions
diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.go
index c62b01445..8d5c9d8cc 100644
--- a/weed/command/filer_replication.go
+++ b/weed/command/filer_replication.go
@@ -5,12 +5,12 @@ import (
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/replication"
- "github.com/chrislusf/seaweedfs/weed/server"
- "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/replication/sink"
- _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/gcssink"
+ _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink"
+ "github.com/chrislusf/seaweedfs/weed/server"
+ "github.com/spf13/viper"
)
func init() {
diff --git a/weed/command/volume.go b/weed/command/volume.go
index df8d842dc..e8c3f4a3c 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -1,17 +1,18 @@
package command
import (
+ "net/http"
"os"
"runtime"
+ "runtime/pprof"
"strconv"
"strings"
+ "time"
+
"github.com/chrislusf/seaweedfs/weed/glog"
- "github.com/chrislusf/seaweedfs/weed/util"
- "net/http"
- "github.com/chrislusf/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/server"
- "time"
- "runtime/pprof"
+ "github.com/chrislusf/seaweedfs/weed/storage"
+ "github.com/chrislusf/seaweedfs/weed/util"
)
var (