Skip to content

Commit

Permalink
Fix "Set system-wide registry value" task
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Jan 28, 2025
1 parent ec51820 commit 81cf2ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
{%- set value = item.value | string | lower -%}
{%- endif -%}
{%- if item.key == "OTEL_RESOURCE_ATTRIBUTES" -%}
{%- set method = "splunk.zc.method=splunk-otel-dotnet-" + splunk_otel_dotnet_version.lstrip("v") -%}
{%- set method = "splunk.zc.method=splunk-otel-dotnet-" + splunk_otel_dotnet_version.output[0].lstrip("v") -%}
{%- set value = (item.value + "," + method) | trim(",") -%}
{%- endif -%}
{{ value | string }}
Expand Down

0 comments on commit 81cf2ff

Please sign in to comment.