mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +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
16fbc27b09
commit
99f3d69e94
@ -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