Skip to content

Commit

Permalink
[bitnami/jaeger] Fix check-app-version for both versions (#75744)
Browse files Browse the repository at this point in the history
Signed-off-by: Alvaro Neira Ayuso <[email protected]>
  • Loading branch information
alvneiayu authored Dec 13, 2024
1 parent 9ce2466 commit 0e933d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vib/jaeger/goss/jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ command:
stderr:
- "Server created"
check-app-version:
exec: jaeger-jaeger -v | sed "s/\-0*/./g"
exec: bash -c "if [[ \"${APP_VERSION}\" == \"1.\"* ]]; then jaeger-all-in-one version | grep -Po \"\d+\.\d+\.\d+\"; else jaeger-jaeger -v | sed \"s/\-0*/./g\"; fi"
exit-status: 0
stdout:
- "{{ .Env.APP_VERSION }}"

0 comments on commit 0e933d1

Please sign in to comment.