File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,6 +269,18 @@ pub struct Nexus {
269269
270270 /// reports status of pending MGS-managed updates
271271 mgs_update_status_rx : watch:: Receiver < MgsUpdateDriverStatus > ,
272+
273+ /// DNS resolver used by MgsUpdateDriver for MGS
274+ // We don't need to do anything with this, but we can't let it be dropped
275+ // while Nexus is running.
276+ #[ allow( dead_code) ]
277+ mgs_resolver : Box < dyn qorb:: resolver:: Resolver > ,
278+
279+ /// DNS resolver used by MgsUpdateDriver for Repo Depot
280+ // We don't need to do anything with this, but we can't let it be dropped
281+ // while Nexus is running.
282+ #[ allow( dead_code) ]
283+ repo_depot_resolver : Box < dyn qorb:: resolver:: Resolver > ,
272284}
273285
274286impl Nexus {
@@ -496,6 +508,8 @@ impl Nexus {
496508 ) ) ,
497509 tuf_artifact_replication_tx,
498510 mgs_update_status_rx,
511+ mgs_resolver,
512+ repo_depot_resolver,
499513 } ;
500514
501515 // TODO-cleanup all the extra Arcs here seems wrong
You can’t perform that action at this time.
0 commit comments