Skip to content

Commit

Permalink
RHINENG-10940: add bootc field to system_profile struct
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Jul 12, 2024
1 parent 656f1c2 commit afba5ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions base/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type SystemProfile struct {
Rhsm Rhsm `json:"rhsm,omitempty"`
Releasever *string `json:"releasever,omitempty"`
SatelliteManaged bool `json:"satellite_managed,omitempty"`
BootcStatus Bootc `json:"bootc_status,omitempty"`
}

func (t *SystemProfile) GetInstalledPackages() []string {
Expand Down Expand Up @@ -55,3 +56,11 @@ type DnfModule struct {
type Rhsm struct {
Version string `json:"version,omitempty"`
}

type Bootc struct {
Booted BootcBooted `json:"booted,omitempty"`
}

type BootcBooted struct {
Image string `json:"image,omitempty"`
}

0 comments on commit afba5ca

Please sign in to comment.