Fix string values

This commit is contained in:
kolaente 2020-12-19 17:52:31 +01:00
parent 695b7d7346
commit cbdfba8b6f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ func getValueForField(field reflect.StructField, rawValue string) (value interfa
case reflect.Float64:
value, err = strconv.ParseFloat(rawValue, 64)
case reflect.String:
// value is already a string
value = rawValue
case reflect.Bool:
value, err = strconv.ParseBool(rawValue)
case reflect.Struct: