Skip to content

Commit

Permalink
[chore] Fix Supervisor test on Windows (open-telemetry#35035)
Browse files Browse the repository at this point in the history
Fixes an issue where YAML values need to be carefully quoted or Windows
paths are interpreted as escaped values.

Also unquote the port number since I think it will be unquoted in most
user configs.

**Link to tracking Issue:**
open-telemetry#35033
  • Loading branch information
evan-bradley authored and f7o committed Sep 12, 2024
1 parent 9b3e620 commit 2963305
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ capabilities:
accepts_restart_command: true

storage:
directory: "{{.storage_dir}}"
directory: '{{.storage_dir}}'

agent:
executable: ../../bin/otelcontribcol_{{.goos}}_{{.goarch}}{{.extension}}
health_check_port: "{{ .healthcheck_port }}"
health_check_port: {{ .healthcheck_port }}

0 comments on commit 2963305

Please sign in to comment.