aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer.go6
-rw-r--r--weed/command/filer_copy.go2
-rw-r--r--weed/command/mount_std.go2
3 files changed, 5 insertions, 5 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 5f0ceab48..fd9419772 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -5,14 +5,14 @@ import (
"strconv"
"time"
+ "github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/soheilhy/cmux"
- "google.golang.org/grpc/reflection"
"google.golang.org/grpc"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/chrislusf/seaweedfs/weed/filer2"
+ "google.golang.org/grpc/reflection"
)
var (
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 4c203fc94..8a754bb55 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -68,7 +68,7 @@ func runCopy(cmd *Command, args []string) bool {
return false
}
filerDestination := args[len(args)-1]
- fileOrDirs := args[0: len(args)-1]
+ fileOrDirs := args[0 : len(args)-1]
filerUrl, err := url.Parse(filerDestination)
if err != nil {
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 4908bdbff..b3f038cc2 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -8,9 +8,9 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
+ "github.com/chrislusf/seaweedfs/weed/filesys"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util"
- "github.com/chrislusf/seaweedfs/weed/filesys"
)
func runMount(cmd *Command, args []string) bool {