Skip to content

Commit

Permalink
chore: explicitly init group on inventory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Jul 8, 2024
1 parent 2eb92b4 commit efd7930
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func NewInventory(path, name string) *Inventory {
modules: []Module{},
roles: []Role{},
directives: []Directive{},
groups: []Group{},
}
metricMangoInventoryInfoLabels["hostname"] = name
metricMangoInventoryInfoLabels["inventory_path"] = path
Expand Down

0 comments on commit efd7930

Please sign in to comment.