Skip to content

Commit c8e78eb

Browse files
committed
chore: minor rename
1 parent 994410e commit c8e78eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kms/src/main_service.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl RpcHandler {
104104
.await
105105
}
106106

107-
async fn check_image_mrs(&self, vm_config: &VmConfig, report: &BootInfo) -> Result<()> {
107+
async fn verify_mr_image(&self, vm_config: &VmConfig, report: &BootInfo) -> Result<()> {
108108
if !self.state.config.image.verify {
109109
return Ok(());
110110
}
@@ -352,9 +352,9 @@ impl RpcHandler {
352352
if !response.is_allowed {
353353
bail!("Boot denied: {}", response.reason);
354354
}
355-
self.check_image_mrs(&vm_config, &boot_info)
355+
self.verify_mr_image(&vm_config, &boot_info)
356356
.await
357-
.context("Failed to check image MRs")?;
357+
.context("Failed to verify image MR")?;
358358
Ok(BootConfig {
359359
boot_info,
360360
gateway_app_id: response.gateway_app_id,

0 commit comments

Comments
 (0)