MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / reload_vms

Method reload_vms

vmm/src/main_service.rs:574–577  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

572 }
573
574 async fn reload_vms(self) -> Result<ReloadVmsResponse> {
575 info!("Reloading VMs directory and syncing with memory state");
576 self.app.reload_vms_sync().await
577 }
578
579 async fn report_dhcp_lease(self, request: DhcpLeaseRequest) -> Result<()> {
580 self.app.report_dhcp_lease(&request.mac, &request.ip).await;

Callers

nothing calls this directly

Calls 1

reload_vms_syncMethod · 0.80

Tested by

no test coverage detected