aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
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 (