fmt
This commit is contained in:
parent
782a29b4fc
commit
bb64a4c58b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user