mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
runtime-rs: delete duplicated PASSTHROUGH_FS_DIR const
The const PASSTHROUGH_FS_DIR defined twice, delte one. Fixes: #5301 Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
parent
949ffcc457
commit
3aeaa6459d
@ -13,7 +13,6 @@ use kata_sys_util::mount;
|
||||
use super::utils;
|
||||
|
||||
pub(crate) const MOUNT_GUEST_TAG: &str = "kataShared";
|
||||
pub(crate) const PASSTHROUGH_FS_DIR: &str = "passthrough";
|
||||
|
||||
pub(crate) const FS_TYPE_VIRTIO_FS: &str = "virtiofs";
|
||||
pub(crate) const KATA_VIRTIO_FS_DEV_TYPE: &str = "virtio-fs";
|
||||
|
@ -16,9 +16,8 @@ use kata_types::config::hypervisor::SharedFsInfo;
|
||||
use super::{
|
||||
share_virtio_fs::{
|
||||
prepare_virtiofs, FS_TYPE_VIRTIO_FS, KATA_VIRTIO_FS_DEV_TYPE, MOUNT_GUEST_TAG,
|
||||
PASSTHROUGH_FS_DIR,
|
||||
},
|
||||
utils, ShareFs, *,
|
||||
utils, ShareFs, PASSTHROUGH_FS_DIR, *,
|
||||
};
|
||||
|
||||
lazy_static! {
|
||||
|
Loading…
Reference in New Issue
Block a user