mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-12 20:39:30 +00:00
Merge pull request #5305 from liubin/fix/5301-delete-duplicated-PASSTHROUGH_FS_DIR
runtime-rs: delete duplicated PASSTHROUGH_FS_DIR const
This commit is contained in:
@@ -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! {
|
||||
|
Reference in New Issue
Block a user