Skip to content

Commit ec25052

Browse files
fix error display string
1 parent d6daf7f commit ec25052

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)