Skip to content

Commit

Permalink
clean(process-exporter): Add yamllint fixes
Browse files Browse the repository at this point in the history
Cleaned process exporter yaml files like removing unnecessary
quotes.

Signed-off-by: Kaiyi <[email protected]>
  • Loading branch information
KaiyiLiu1234 committed Nov 12, 2024
1 parent fdcea6b commit f4f5eb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifests/compose/dev/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ services:
ports:
- 9256:9256
command:
- '--procfs=/host/proc'
- '--config.path=/config/process-exporter.yaml'
- --procfs=/host/proc
- --config.path=/config/process-exporter.yaml
volumes:
- ./config/process-exporter.yaml:/config/process-exporter.yaml
- /proc:/host/proc:ro
Expand Down
2 changes: 1 addition & 1 deletion manifests/compose/dev/config/process-exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process_names:
- name: "{{.PID}}"
cmdline:
- '.+'
- ".+"

Check failure on line 4 in manifests/compose/dev/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

4:9 [quoted-strings] string value is redundantly quoted with double quotes

Check failure on line 4 in manifests/compose/dev/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / yamllint / yamllint

4:9 [quoted-strings] string value is redundantly quoted with double quotes

Check failure on line 4 in manifests/compose/dev/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / yamllint / yamllint

4:13 [new-line-at-end-of-file] no new line character at the end of file
2 changes: 1 addition & 1 deletion manifests/compose/validation/config/process-exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process_names:
- name: "{{.PID}}"
cmdline:
- '.+'
- ".+"

Check failure on line 4 in manifests/compose/validation/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

4:9 [quoted-strings] string value is redundantly quoted with double quotes

Check failure on line 4 in manifests/compose/validation/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / yamllint / yamllint

4:9 [quoted-strings] string value is redundantly quoted with double quotes

Check failure on line 4 in manifests/compose/validation/config/process-exporter.yaml

View workflow job for this annotation

GitHub Actions / yamllint / yamllint

4:13 [new-line-at-end-of-file] no new line character at the end of file
4 changes: 2 additions & 2 deletions manifests/compose/validation/metal/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ services:
ports:
- 9256:9256
command:
- '--procfs=/host/proc'
- '--config.path=/config/process-exporter.yaml'
- --procfs=/host/proc
- --config.path=/config/process-exporter.yaml
volumes:
- ../config/process-exporter.yaml:/config/process-exporter.yaml
- /proc:/host/proc:ro
Expand Down

0 comments on commit f4f5eb4

Please sign in to comment.