Commit ec1f695
authored
Fix endpoint override for .NET SDK generator (#1088)
PR #1082 migrated the C# telemetry generator to AWS SDK V4. Due to
changes in contracts with this version, a Custom PartialConfig file was
added to meet the interface requirements for configuring endpoints with
the ClientConfig. This caused issues during runtime since our client
does not rely on endpoitns. As a workaround as per .NET SDK team's
guidance, since our client always sets the ServiceUrl on out client, a
fix along those lines has been made to short-circuit the underlying
logic and return endpoint based on the service url.1 parent 353ebfb commit ec1f695
File tree
1 file changed
+2
-9
lines changed- telemetry/csharp/AwsToolkit.Telemetry.SDK/Custom
1 file changed
+2
-9
lines changedLines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 34 | + | |
| 35 | + | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
0 commit comments