feat: flag Ubuntu phased updates on PackageUpdate

This commit is contained in:
2026-09-15 14:48:16 +00:00
parent aa1c87037b
commit 0e5597fcc0
3 changed files with 28 additions and 0 deletions
+4
View File
@@ -85,6 +85,10 @@ type PackageUpdate struct {
Name string `json:"name"`
CurrentVersion string `json:"current_version,omitempty"`
NewVersion string `json:"new_version"`
// Phased marks an Ubuntu phased update this host is not yet selected for:
// apt lists it as upgradable, but an upgrade defers it until the host's
// phase comes up. It is pending, not installable, so counts leave it out.
Phased bool `json:"phased,omitempty"`
}
type ReportUpdatesRequest struct {