Commit 59aa8f2
committed
Fix issue in GenerateIntegrationDefinitions.cs
Before: If an integration specified TargetMethodArgumentsToLoad as an empty array, it would be converted to null in InstrumentationDefinitions.Generated.cs and the automatic instrumentation would pass all parameters to the integration method.
After: If an integration specified TargetMethodArgumentsToLoad as an empty array, it is preserved as an emptry array in InstrumentationDefinitions.Generated.cs and the automatic instrumentation will pass no method arguments (so only the object instance) to the integration method.
Note: This may not need to be backported because no integrations in the 1.x branch actually set TargetMethodArgumentsToLoad to an empty array1 parent 3b348df commit 59aa8f2
File tree
1 file changed
+2
-2
lines changed- tracer/build/_build/PrepareRelease
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments