load the security.toml file

fix https://github.com/chrislusf/seaweedfs/discussions/2132
This commit is contained in:
Chris Lu 2021-06-25 00:43:22 -07:00
parent 81f8d6313e
commit 5ac713b8b0

View File

@ -46,6 +46,8 @@ func NewSeaweedFsDriver(filer, nodeID, endpoint string) *SeaweedFsDriver {
glog.Infof("Driver: %v version: %v", driverName, version)
util.LoadConfiguration("security", false)
n := &SeaweedFsDriver{
endpoint: endpoint,
nodeID: nodeID,