mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 14:24:27 +01:00
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 <bin@hyper.sh>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user