From 8e5562f3f011cc3031b5b2e8d3b52ceb6b24377c Mon Sep 17 00:00:00 2001 From: Tommaso Bailetti Date: Fri, 27 Sep 2024 10:16:10 +0200 Subject: [PATCH] feat(api): added additional fields coming from unit --- api/models/unit.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/models/unit.go b/api/models/unit.go index c1a9dc0..5944ee1 100644 --- a/api/models/unit.go +++ b/api/models/unit.go @@ -39,6 +39,8 @@ type Unit struct { type UnitInfo struct { UnitName string `json:"unit_name"` Version string `json:"version"` + VersionUpdate string `json:"version_update"` + ScheduledUpdate int `json:"scheduled_update"` SubscriptionType string `json:"subscription_type"` SystemID string `json:"system_id"` SSHPort int `json:"ssh_port"`