File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ use utoipa::OpenApi;
102102 crate :: routes:: agents:: stop_instance,
103103 crate :: routes:: agents:: restart_instance,
104104 crate :: routes:: agents:: upgrade_instance,
105+ crate :: routes:: agents:: check_upgrade_available,
105106 crate :: routes:: admin:: admin_create_backup,
106107 crate :: routes:: admin:: admin_list_backups,
107108 crate :: routes:: admin:: admin_get_backup,
@@ -188,6 +189,7 @@ use utoipa::OpenApi;
188189 crate :: models:: UsageResponse ,
189190 crate :: models:: BalanceResponse ,
190191 crate :: models:: UsageQueryParams ,
192+ crate :: routes:: agents:: UpgradeAvailabilityResponse ,
191193 // BI metrics (admin)
192194 crate :: routes:: admin:: BiDeploymentQuery ,
193195 crate :: routes:: admin:: BiSummaryQuery ,
Original file line number Diff line number Diff line change @@ -1457,9 +1457,8 @@ impl AgentService for AgentServiceImpl {
14571457 // This handles cases where instance is not yet fully provisioned or synced
14581458 if instance_resp. status ( ) == reqwest:: StatusCode :: NOT_FOUND {
14591459 tracing:: warn!(
1460- "Instance not found on Agent Manager: instance_id={}, instance_name={}. Blocking upgrade until instance is synced." ,
1461- instance_id,
1462- instance. name
1460+ "Instance not found on Agent Manager: instance_id={}. Blocking upgrade until instance is synced." ,
1461+ instance_id
14631462 ) ;
14641463 return Ok ( UpgradeAvailability {
14651464 has_upgrade : false ,
You can’t perform that action at this time.
0 commit comments