From ec25052227e7e609446d131041c84b48e4d5312e Mon Sep 17 00:00:00 2001 From: Sergey Kanzhelev Date: Fri, 18 Feb 2022 14:30:23 -0800 Subject: [PATCH] fix error display string --- layouts/shortcodes/feature-state.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/feature-state.html b/layouts/shortcodes/feature-state.html index 745c5f396e..a9cf606384 100644 --- a/layouts/shortcodes/feature-state.html +++ b/layouts/shortcodes/feature-state.html @@ -3,9 +3,9 @@ {{ $for_k8s_version := .Get "for_k8s_version" | default (.Page.Param "version")}} {{ $is_valid := strings.Contains $valid_states $state }} {{ if not $is_valid }} -{{ 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 }} {{ else }}
FEATURE STATE: Kubernetes {{ $for_k8s_version }} [{{ $state }}]
-{{ end }} \ No newline at end of file +{{ end }}