Commit 846d41f
authored
Add conditional check before setting attributes in
Add a conditional check in `SetSDKSetAttributes` to only call `SetAttributes`
when the attribute map is not empty. This prevents API validation errors
that occur when setting an empty attribute map.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.SetSDKSetAttributes (#554)1 parent 36c2d23 commit 846d41f
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments