mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-22 17:27:34 +00:00
mount: fix the issue of epthemeral storage handler
For ephemeral storage handler, it should return an empty string instead of the mount destination. Fixes: #635 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
This commit is contained in:
@@ -256,7 +256,9 @@ fn ephemeral_storage_handler(
|
||||
return Err(err.into());
|
||||
}
|
||||
|
||||
common_storage_handler(logger, storage)
|
||||
common_storage_handler(logger, storage)?;
|
||||
|
||||
Ok("".to_string())
|
||||
}
|
||||
|
||||
fn local_storage_handler(
|
||||
|
Reference in New Issue
Block a user