diff options
Diffstat (limited to 'weed/command/filer_copy.go')
| -rw-r--r-- | weed/command/filer_copy.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go index c18b9f055..8d8fead62 100644 --- a/weed/command/filer_copy.go +++ b/weed/command/filer_copy.go @@ -3,14 +3,6 @@ package command import ( "context" "fmt" - "github.com/chrislusf/seaweedfs/weed/operation" - "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" - "github.com/chrislusf/seaweedfs/weed/security" - "github.com/chrislusf/seaweedfs/weed/server" - "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/wdclient" - "github.com/spf13/viper" - "google.golang.org/grpc" "io" "io/ioutil" "net/http" @@ -21,6 +13,14 @@ import ( "strings" "sync" "time" + + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/wdclient" + "github.com/spf13/viper" + "google.golang.org/grpc" ) var ( @@ -74,7 +74,7 @@ var cmdCopy = &Command{ func runCopy(cmd *Command, args []string) bool { - weed_server.LoadConfiguration("security", false) + util.LoadConfiguration("security", false) if len(args) <= 1 { return false |
