etcd: remove (unused) etcd root bucket prefix

This commit removes the unused prefix from the etcd backend config as
etcd key space separation in LND is implemented by using namespaces
instead.
This commit is contained in:
Andras Banki-Horvath committed 2021-05-04 17:32:59 +02:00
1 parent 99fe0ab150
commit 44e312ace9
6 files changed
+16 -27

No files matched your search

+1 -3
View File
@@ -1455,9 +1455,7 @@ func initializeDatabases(ctx context.Context,
startOpenTime := time.Now()
databaseBackends, err := cfg.DB.GetBackends(
ctx, cfg.localDatabaseDir(), cfg.networkName(),
)
databaseBackends, err := cfg.DB.GetBackends(ctx, cfg.localDatabaseDir())
if err != nil {
return nil, nil, nil, fmt.Errorf("unable to obtain database "+
"backends: %v", err)