Skip to content

Commit

Permalink
chore(tests): 🔧 fix typo on tracing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur committed Aug 1, 2023
1 parent 43e535c commit 7471db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion traefik/templates/_podtemplate.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@

{{- if .Values.tracing.openTelemetry }}
{{- if semverCompare "<3.0.0-0" (default $.Chart.AppVersion $.Values.image.tag) }}
{{- fail "ERROR: OpenTelemetry features are only available on Traefik v3. Please update `image.tag` to `v3.0`." }}
{{- fail "ERROR: OpenTelemetry features are only available on Traefik v3. Please set `image.tag` to `v3.x`." }}
{{- end }}
- "--tracing.openTelemetry=true"
{{- if .Values.tracing.openTelemetry.address }}
Expand Down
3 changes: 1 addition & 2 deletions traefik/tests/tracing-config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ tests:
set:
image:
tag: v2.10.1
metrics:
tracing:
openTelemetry:
address: "localhost:4318"
addEntryPointsLabels: true
asserts:
- failedTemplate:
errorMessage: "OpenTelemetry features are only available on Traefik v3. Please set `image.tag` to `v3.x`."

0 comments on commit 7471db5

Please sign in to comment.