blob: a4017543f1f0c2ac7d596279264e5b5ea1d72663 [file] [log] [blame]
diff --git a/pkg/runtime/converter.go b/pkg/runtime/converter.go
index b3e8a53..2489822 100644
--- a/pkg/runtime/converter.go
+++ b/pkg/runtime/converter.go
@@ -191,6 +191,9 @@ func fromUnstructured(sv, dv reflect.Value) error {
reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
dv.Set(sv.Convert(dt))
return nil
+ case reflect.Float32, reflect.Float64:
+ dv.Set(sv.Convert(dt))
+ return nil
}
case reflect.Float32, reflect.Float64:
switch dt.Kind() {