aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-07-21 17:39:10 -0700
committerChris Lu <chris.lu@gmail.com>2018-07-21 17:39:10 -0700
commit7e2031b18f3f78688ff596921b5a6b8ebb36986b (patch)
tree9fdba6135eee3235e02025c09aa164dd233e5d53 /weed/command/filer_copy.go
parentdc8dd8b486b9ae7ffc70c4563d99da4d54bbc236 (diff)
downloadseaweedfs-7e2031b18f3f78688ff596921b5a6b8ebb36986b.tar.xz
seaweedfs-7e2031b18f3f78688ff596921b5a6b8ebb36986b.zip
go fmt
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 {