Skip to content

Commit 8fb7366

Browse files
Merge pull request #561 from AlexVulaj/dynamic-ocm-connection-client
Dynamically set OCM connection client from user config
2 parents 5d59d6c + a227c58 commit 8fb7366

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/utils/ocm.go

+2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ func CreateConnection() (*sdk.Connection, error) {
274274
}
275275
connectionBuilder.URL(gatewayURL)
276276

277+
connectionBuilder.Client(config.ClientID, config.ClientSecret)
278+
277279
connection, err := connectionBuilder.Build()
278280

279281
if err != nil {

0 commit comments

Comments
 (0)