replace ; by <br/>
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
1 parent
bc41aca13f
commit
cb679a2ebc
1 file changed
+1
-1
@@ -76,7 +76,7 @@ func GetAnnotatedVariables(s interface{}) []ConfigField {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
v := fmt.Sprintf("%v", value.Interface())
|
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, ";", "<br/>"), DefaultValue: v, Description: desc, Type: value.Type().Name()})
|
||||||
case reflect.Ptr:
|
case reflect.Ptr:
|
||||||
// PolicySelectors in the Proxy are being skipped atm
|
// PolicySelectors in the Proxy are being skipped atm
|
||||||
// they are not configurable via env vars, if that changes
|
// they are not configurable via env vars, if that changes
|
||||||
|
|||||||
Reference in new issue
Block a user