Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Sep 8, 2023
1 parent 0ce04de commit 2cafce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/grafana_agent/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ _grafana_agent_systemd_dir: /lib/systemd/system/
_grafana_agent_systemd_unit: grafana-agent.service

# Server http address, used in self health check after start
_grafana_agent_healthcheck_endpoint: "http://{{ grafana_agent_flags_extra.server.http.address if ((grafana_agent_flags_extra.server|default({})).http|default({})).http.address is defined else '127.0.0.1:12345' }}/-/ready"
_grafana_agent_healthcheck_endpoint: "http://{{ grafana_agent_flags_extra['server.http.address'] if grafana_agent_flags_extra['server.http.address'] is defined else '127.0.0.1:12345' }}/-/ready"

Check warning on line 36 in roles/grafana_agent/vars/main.yaml

View workflow job for this annotation

GitHub Actions / Perform Linting

36:151 [line-length] line too long (194 > 150 characters)

0 comments on commit 2cafce7

Please sign in to comment.