output type parsed from modelfile (#678)

This commit is contained in:
Bruce MacDonald
2023-10-05 14:58:04 -04:00
committed by GitHub
parent 61ff1946e6
commit 2130c0708b
2 changed files with 7 additions and 7 deletions

View File

@@ -831,7 +831,7 @@ func formatParams(params map[string][]string) (map[string]interface{}, error) {
return nil, fmt.Errorf("invalid int value %s", vals)
}
out[key] = int(intVal)
out[key] = intVal
case reflect.Bool:
boolVal, err := strconv.ParseBool(vals[0])
if err != nil {