We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d7aea commit 5f1bad3Copy full SHA for 5f1bad3
1 file changed
pkg/formats/util/util.go
@@ -70,6 +70,10 @@ func SetAttr(attr map[string]interface{}, in *kt.JCHF, metrics map[string]kt.Met
70
if vt > 0 {
71
attr[k] = int(vt)
72
}
73
+ case float32:
74
+ if vt > 0 {
75
+ attr[k] = vt
76
+ }
77
default:
78
panic(fmt.Sprintf("Unknown type: %v", v.(int32)))
79
0 commit comments