mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
change user and pass to username and password
This commit is contained in:
parent
549e341c6f
commit
7e92517571
|
@ -290,8 +290,8 @@ enabled = false
|
||||||
db_name = "seaweedfs"
|
db_name = "seaweedfs"
|
||||||
servers=["http://localhost:8529"] # list of servers to connect to
|
servers=["http://localhost:8529"] # list of servers to connect to
|
||||||
# only basic auth supported for now
|
# only basic auth supported for now
|
||||||
user=""
|
username=""
|
||||||
pass=""
|
password=""
|
||||||
# skip tls cert validation
|
# skip tls cert validation
|
||||||
insecure_skip_verify = true
|
insecure_skip_verify = true
|
||||||
|
|
||||||
|
|
|
@ -59,8 +59,8 @@ func (store *ArangodbStore) Initialize(configuration util.Configuration, prefix
|
||||||
store.buckets = make(map[string]driver.Collection, 3)
|
store.buckets = make(map[string]driver.Collection, 3)
|
||||||
store.databaseName = configuration.GetString(prefix + "db_name")
|
store.databaseName = configuration.GetString(prefix + "db_name")
|
||||||
return store.connection(configuration.GetStringSlice(prefix+"servers"),
|
return store.connection(configuration.GetStringSlice(prefix+"servers"),
|
||||||
configuration.GetString(prefix+"user"),
|
configuration.GetString(prefix+"username"),
|
||||||
configuration.GetString(prefix+"pass"),
|
configuration.GetString(prefix+"password"),
|
||||||
configuration.GetBool(prefix+"insecure_skip_verify"),
|
configuration.GetBool(prefix+"insecure_skip_verify"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue