From 62cf6e6fc3cd7c3d419b2cf95990e56b8f1bcfa7 Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Fri, 9 Sep 2022 16:07:35 +0800 Subject: [PATCH] runtime-rs: remove meaningless comment The comment for `generate_mount_path` function is a copy miss and should be deleted. Fixes: #5150 Signed-off-by: Bin Liu --- src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs b/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs index 9bf02ddc4f..9c05ca3054 100644 --- a/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs +++ b/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs @@ -138,7 +138,6 @@ fn is_host_device(dest: &str) -> bool { } // Note, don't generate random name, attaching rafs depends on the predictable name. -// If template_mnt is passed, just use existed name in it pub fn generate_mount_path(id: &str, file_name: &str) -> String { let mut nid = String::from(id); if nid.len() > 10 {