Sergiusz Bazanski | 9d738ce | 2020-02-21 12:54:05 +0100 | [diff] [blame] | 1 | diff --git a/pkg/runtime/converter.go b/pkg/runtime/converter.go |
| 2 | index b3e8a53..2489822 100644 |
| 3 | --- a/pkg/runtime/converter.go |
| 4 | +++ b/pkg/runtime/converter.go |
| 5 | @@ -191,6 +191,9 @@ func fromUnstructured(sv, dv reflect.Value) error { |
| 6 | reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: |
| 7 | dv.Set(sv.Convert(dt)) |
| 8 | return nil |
| 9 | + case reflect.Float32, reflect.Float64: |
| 10 | + dv.Set(sv.Convert(dt)) |
| 11 | + return nil |
| 12 | } |
| 13 | case reflect.Float32, reflect.Float64: |
| 14 | switch dt.Kind() { |