Skip to content

Commit 069e4c9

Browse files
authored
Merge pull request #31800 from SergeyKanzhelev/patch-1
fix error display string
2 parents d2f7d7a + ec25052 commit 069e4c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/shortcodes/feature-state.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
{{ $for_k8s_version := .Get "for_k8s_version" | default (.Page.Param "version")}}
44
{{ $is_valid := strings.Contains $valid_states $state }}
55
{{ if not $is_valid }}
6-
{{ errorf "%q is not a valid feature-state, use one of %q" $valid_states }}
6+
{{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }}
77
{{ else }}
88
<div style="margin-top: 10px; margin-bottom: 10px;">
99
<b>FEATURE STATE:</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
1010
</div>
11-
{{ end }}
11+
{{ end }}

0 commit comments

Comments
 (0)