MCPcopy Create free account
hub / github.com/dfinity/orbit / post_upgrade

Method post_upgrade

core/station/impl/src/controllers/system.rs:123–130  ·  view source on GitHub ↗
(&self, input: Option<SystemUpgrade>)

Source from the content-addressed store, hash-verified

121 }
122
123 async fn post_upgrade(&self, input: Option<SystemUpgrade>) {
124 self.system_service
125 .upgrade_canister(input)
126 .await
127 .unwrap_or_else(|err| {
128 trap(&format!("Error: upgrading canister failed {err}"));
129 });
130 }
131
132 async fn health_status(&self) -> HealthStatus {
133 self.system_service.health_status()

Callers 1

post_upgradeFunction · 0.80

Calls 2

trapFunction · 0.85
upgrade_canisterMethod · 0.80

Tested by

no test coverage detected