aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 9937bc9d6..218abf645 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -8,16 +8,16 @@ import (
"path/filepath"
"strings"
+ "context"
"github.com/chrislusf/seaweedfs/weed/operation"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/security"
- "path"
+ "github.com/chrislusf/seaweedfs/weed/util"
+ "io"
"net/http"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "path"
"strconv"
- "io"
"time"
- "context"
- "github.com/chrislusf/seaweedfs/weed/util"
)
var (
@@ -77,7 +77,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 {