diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-05 01:30:24 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-05 01:30:24 -0700 |
| commit | ede876cfdb0116557dd197a7951957dab6745c24 (patch) | |
| tree | 50bab90cbf757bb0ad6b3239ed938dfd8d55874e /weed/command/s3.go | |
| parent | b9e138713c8e2f53cf96132b5ff077ded67c5c20 (diff) | |
| download | seaweedfs-ede876cfdb0116557dd197a7951957dab6745c24.tar.xz seaweedfs-ede876cfdb0116557dd197a7951957dab6745c24.zip | |
periodic scripts exeuction from leader master
Diffstat (limited to 'weed/command/s3.go')
| -rw-r--r-- | weed/command/s3.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index 014342766..e004bb066 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -1,13 +1,14 @@ package command import ( - "github.com/chrislusf/seaweedfs/weed/security" - "github.com/chrislusf/seaweedfs/weed/server" - "github.com/spf13/viper" "net/http" "time" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/spf13/viper" + "fmt" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/s3api" "github.com/chrislusf/seaweedfs/weed/util" @@ -47,7 +48,7 @@ var cmdS3 = &Command{ func runS3(cmd *Command, args []string) bool { - weed_server.LoadConfiguration("security", false) + util.LoadConfiguration("security", false) return s3StandaloneOptions.startS3Server() |
