load the security.toml file
fix https://github.com/chrislusf/seaweedfs/discussions/2132
This commit is contained in:
parent
81f8d6313e
commit
5ac713b8b0
@ -46,6 +46,8 @@ func NewSeaweedFsDriver(filer, nodeID, endpoint string) *SeaweedFsDriver {
|
|||||||
|
|
||||||
glog.Infof("Driver: %v version: %v", driverName, version)
|
glog.Infof("Driver: %v version: %v", driverName, version)
|
||||||
|
|
||||||
|
util.LoadConfiguration("security", false)
|
||||||
|
|
||||||
n := &SeaweedFsDriver{
|
n := &SeaweedFsDriver{
|
||||||
endpoint: endpoint,
|
endpoint: endpoint,
|
||||||
nodeID: nodeID,
|
nodeID: nodeID,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user