From a227c58efa5b9aaf08f09e85dc0daca78bec9fc1 Mon Sep 17 00:00:00 2001 From: Alex Vulaj Date: Wed, 8 May 2024 10:18:27 -0400 Subject: [PATCH] Dynamically set OCM connection client from user config --- pkg/utils/ocm.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/utils/ocm.go b/pkg/utils/ocm.go index abc1d4bb..97e0f1c9 100644 --- a/pkg/utils/ocm.go +++ b/pkg/utils/ocm.go @@ -274,6 +274,8 @@ func CreateConnection() (*sdk.Connection, error) { } connectionBuilder.URL(gatewayURL) + connectionBuilder.Client(config.ClientID, config.ClientSecret) + connection, err := connectionBuilder.Build() if err != nil {