Skip to content

Commit a3af31e

Browse files
fix(sdk): adds connection options to getPlatformConfiguration (#2286)
### Proposed Changes * connection options should be passed to `getPlatformConfiguration`. ### Checklist - [ ] I have added or updated unit tests - [ ] I have added or updated integration tests (if appropriate) - [ ] I have added or updated documentation ### Testing Instructions
1 parent a46a8fb commit a3af31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ func validateHealthyPlatformConnection(platformEndpoint string, httpClient *http
413413

414414
func getPlatformConfiguration(conn *ConnectRPCConnection) (PlatformConfiguration, error) {
415415
req := wellknownconfiguration.GetWellKnownConfigurationRequest{}
416-
wellKnownConfig := wellknownconfigurationconnect.NewWellKnownServiceClient(conn.Client, conn.Endpoint)
416+
wellKnownConfig := wellknownconfigurationconnect.NewWellKnownServiceClient(conn.Client, conn.Endpoint, conn.Options...)
417417

418418
response, err := wellKnownConfig.GetWellKnownConfiguration(context.Background(), connect.NewRequest(&req))
419419
if err != nil {

0 commit comments

Comments
 (0)