mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 17:34:31 +00:00
runtime-rs: Remove mut
Fix `error: variable does not need to be mutable` Fixes: #7902 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
6e508ae322
commit
cb7cc1d708
@ -75,7 +75,7 @@ impl SPDKVolume {
|
|||||||
|
|
||||||
let block_driver = get_block_driver(d).await;
|
let block_driver = get_block_driver(d).await;
|
||||||
|
|
||||||
let mut vhu_blk_config = &mut VhostUserConfig {
|
let vhu_blk_config = &mut VhostUserConfig {
|
||||||
socket_path: device,
|
socket_path: device,
|
||||||
device_type: VhostUserType::Blk("vhost-user-blk-pci".to_owned()),
|
device_type: VhostUserType::Blk("vhost-user-blk-pci".to_owned()),
|
||||||
driver_option: block_driver,
|
driver_option: block_driver,
|
||||||
|
Loading…
Reference in New Issue
Block a user