aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-05 01:30:24 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-05 01:30:24 -0700
commitede876cfdb0116557dd197a7951957dab6745c24 (patch)
tree50bab90cbf757bb0ad6b3239ed938dfd8d55874e /weed/command/filer.go
parentb9e138713c8e2f53cf96132b5ff077ded67c5c20 (diff)
downloadseaweedfs-ede876cfdb0116557dd197a7951957dab6745c24.tar.xz
seaweedfs-ede876cfdb0116557dd197a7951957dab6745c24.zip
periodic scripts exeuction from leader master
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index d82781765..2aa022cd0 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -1,13 +1,14 @@
package command
import (
- "github.com/chrislusf/seaweedfs/weed/security"
- "github.com/spf13/viper"
"net/http"
"strconv"
"strings"
"time"
+ "github.com/chrislusf/seaweedfs/weed/security"
+ "github.com/spf13/viper"
+
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/server"
@@ -77,7 +78,7 @@ var cmdFiler = &Command{
func runFiler(cmd *Command, args []string) bool {
- weed_server.LoadConfiguration("security", false)
+ util.LoadConfiguration("security", false)
f.startFiler()