feat: change the names of the connections to the registry
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
ca2dc823ef
commit
925444a0b3
@@ -5,6 +5,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/opencloud-eu/opencloud/pkg/generators"
|
||||
"github.com/opencloud-eu/opencloud/services/storage-users/pkg/config"
|
||||
)
|
||||
|
||||
@@ -57,7 +58,7 @@ func StorageUsersConfigFromStruct(cfg *config.Config) map[string]interface{} {
|
||||
"tls-insecure": cfg.Events.TLSInsecure,
|
||||
"tls-root-ca-cert": cfg.Events.TLSRootCaCertPath,
|
||||
"enable-tls": cfg.Events.EnableTLS,
|
||||
"name": "storage-users-eventsmiddleware",
|
||||
"name": generators.GenerateConnectionName(cfg.Service.Name, generators.NTYPE_BUS),
|
||||
"username": cfg.Events.AuthUsername,
|
||||
"password": cfg.Events.AuthPassword,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user