This commit is contained in:
Jeffrey Paul 2025-05-01 07:01:41 -07:00
parent 782a29b4fc
commit bb64a4c58b

View File

@ -51,7 +51,9 @@ func (BlockCollector) CollectData(c *Context) (json.RawMessage, error) {
parts := map[string]any{}
var ls struct {
Blockdevices []struct {
Children []struct{ Name string `json:"name"` } `json:"children"`
Children []struct {
Name string `json:"name"`
} `json:"children"`
} `json:"blockdevices"`
}
_ = json.Unmarshal(lsb, &ls)