We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2f7d7a + ec25052 commit 069e4c9Copy full SHA for 069e4c9
layouts/shortcodes/feature-state.html
@@ -3,9 +3,9 @@
3
{{ $for_k8s_version := .Get "for_k8s_version" | default (.Page.Param "version")}}
4
{{ $is_valid := strings.Contains $valid_states $state }}
5
{{ if not $is_valid }}
6
-{{ errorf "%q is not a valid feature-state, use one of %q" $valid_states }}
+{{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }}
7
{{ else }}
8
<div style="margin-top: 10px; margin-bottom: 10px;">
9
<b>FEATURE STATE:</b> <code>Kubernetes {{ $for_k8s_version }} [{{ $state }}]</code>
10
</div>
11
-{{ end }}
+{{ end }}
0 commit comments