Skip to content

Commit

Permalink
Trigger inventory collection on sled add (#5066)
Browse files Browse the repository at this point in the history
This is based on discussion in
#5058
  • Loading branch information
andrewjstone authored Feb 15, 2024
1 parent b2cd53d commit e73c334
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nexus/src/app/rack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,11 @@ impl super::Nexus {
),
})?;

// Trigger an inventory collection so that the newly added sled is known
// about.
self.background_tasks
.activate(&self.background_tasks.task_inventory_collection);

Ok(())
}

Expand Down

0 comments on commit e73c334

Please sign in to comment.