feat: Report whether a managed host is waiting on a reboot

This commit is contained in:
2026-08-13 10:39:27 +00:00
parent 05c0ad43d2
commit b51e87477e
6 changed files with 42 additions and 40 deletions
+1
View File
@@ -39,6 +39,7 @@ type Inventory struct {
SwapUsedBytes uint64 `bson:"swap_used_bytes" json:"swap_used_bytes"`
Partitions []Partition `bson:"partitions,omitempty" json:"partitions,omitempty"`
Kernel string `bson:"kernel,omitempty" json:"kernel,omitempty"`
RebootRequired bool `bson:"reboot_required,omitempty" json:"reboot_required,omitempty"`
MetricsAt *time.Time `bson:"metrics_at,omitempty" json:"metrics_at,omitempty"`
StaticAt *time.Time `bson:"static_at,omitempty" json:"static_at,omitempty"`
}