Skip to content

Commit c728dcd

Browse files
committed
chore(vmm): adapt make_vm_config test callers to requirements param
Rebasing onto master pulled in the new make_vm_config(.., requirements: Option<&Requirements>) parameter added by the launch-token-requirement work (#763). The multi-NIC bridge/user config-equality test still called the 5-arg form; pass None for the new argument so the crate builds against the rebased signature.
1 parent 584defe commit c728dcd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

vmm/src/app.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,8 +1747,10 @@ mod tests {
17471747
let image = test_tdx_image(true);
17481748
let compose_hash = hex_of(0x22, 32);
17491749

1750-
let bridge_config = make_vm_config(&config, &bridge_manifest, &image, &compose_hash, None)?;
1751-
let user_config = make_vm_config(&config, &user_manifest, &image, &compose_hash, None)?;
1750+
let bridge_config =
1751+
make_vm_config(&config, &bridge_manifest, &image, &compose_hash, None, None)?;
1752+
let user_config =
1753+
make_vm_config(&config, &user_manifest, &image, &compose_hash, None, None)?;
17521754

17531755
assert_eq!(bridge_config, user_config);
17541756
Ok(())

0 commit comments

Comments
 (0)