pub fn unreserve<T: Config>(item_index: u32)
Expand description

Cancel a reservation for a workload.

  • origin: Must be Root or pass AdminOrigin.
  • item_index: The index of the reservation. Usually this will also be the index of the core on which the reservation has been scheduled. However, it is possible that if other cores are reserved or unreserved in the same sale rotation that they won’t correspond, so it’s better to look up the core properly in the Reservations storage.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::unreserve.