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

Function finish

kms/src/main.rs:50–53  ·  view source on GitHub ↗
(shutdown: Shutdown)

Source from the content-addressed store, hash-verified

48 }
49 #[rocket::get("/finish")]
50 fn finish(shutdown: Shutdown) -> &'static str {
51 shutdown.notify();
52 "OK"
53 }
54
55 if !kms_config.onboard.auto_bootstrap_domain.is_empty() {
56 onboard_service::bootstrap_keys(&kms_config).await?;

Callers

nothing calls this directly

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected