From 7e925175715c57b49552a94d25d1d3dc40f1d881 Mon Sep 17 00:00:00 2001 From: a Date: Fri, 1 Apr 2022 14:09:25 -0500 Subject: [PATCH] change user and pass to username and password --- weed/command/scaffold/filer.toml | 4 ++-- weed/filer/arangodb/arangodb_store.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index 6a7835de3..0a505bbdc 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -290,8 +290,8 @@ enabled = false db_name = "seaweedfs" servers=["http://localhost:8529"] # list of servers to connect to # only basic auth supported for now -user="" -pass="" +username="" +password="" # skip tls cert validation insecure_skip_verify = true diff --git a/weed/filer/arangodb/arangodb_store.go b/weed/filer/arangodb/arangodb_store.go index 27ed9132b..9fd1fffb3 100644 --- a/weed/filer/arangodb/arangodb_store.go +++ b/weed/filer/arangodb/arangodb_store.go @@ -59,8 +59,8 @@ func (store *ArangodbStore) Initialize(configuration util.Configuration, prefix store.buckets = make(map[string]driver.Collection, 3) store.databaseName = configuration.GetString(prefix + "db_name") return store.connection(configuration.GetStringSlice(prefix+"servers"), - configuration.GetString(prefix+"user"), - configuration.GetString(prefix+"pass"), + configuration.GetString(prefix+"username"), + configuration.GetString(prefix+"password"), configuration.GetBool(prefix+"insecure_skip_verify"), ) }