From 04ebb3def5fe80b7522af996faa48d73942062cb Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 23 Sep 2024 16:52:02 +0200 Subject: [PATCH] fix: use dedicated config values for grpc TLS --- services/collaboration/pkg/command/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/collaboration/pkg/command/server.go b/services/collaboration/pkg/command/server.go index c40040cd42..38d36e3b22 100644 --- a/services/collaboration/pkg/command/server.go +++ b/services/collaboration/pkg/command/server.go @@ -46,13 +46,13 @@ func Server(cfg *config.Config) *cli.Command { return err } - tm, err := pool.StringToTLSMode(cfg.Commons.GRPCClientTLS.Mode) + tm, err := pool.StringToTLSMode(cfg.CS3Api.GRPCClientTLS.Mode) if err != nil { return err } gatewaySelector, err := pool.GatewaySelector( cfg.CS3Api.Gateway.Name, - pool.WithTLSCACert(cfg.Commons.GRPCClientTLS.CACert), + pool.WithTLSCACert(cfg.CS3Api.GRPCClientTLS.CACert), pool.WithTLSMode(tm), pool.WithRegistry(registry.GetRegistry()), pool.WithTracerProvider(traceProvider),