From cb679a2ebc64d8b5edc40aa0b2eaced62d53fdd8 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 3 May 2022 14:36:21 +0200 Subject: [PATCH] replace ; by
Signed-off-by: Christian Richter --- docs/helpers/extractor.go.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/helpers/extractor.go.tmpl b/docs/helpers/extractor.go.tmpl index 699d131318..8fd6c072b2 100644 --- a/docs/helpers/extractor.go.tmpl +++ b/docs/helpers/extractor.go.tmpl @@ -76,7 +76,7 @@ func GetAnnotatedVariables(s interface{}) []ConfigField { continue } v := fmt.Sprintf("%v", value.Interface()) - fields = append(fields, ConfigField{Name: env, DefaultValue: v, Description: desc, Type: value.Type().Name()}) + fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "
"), DefaultValue: v, Description: desc, Type: value.Type().Name()}) case reflect.Ptr: // PolicySelectors in the Proxy are being skipped atm // they are not configurable via env vars, if that changes