From 544219d9adc87da286189cd0c972283945befe79 Mon Sep 17 00:00:00 2001 From: "fupan.lfp" Date: Sun, 30 Aug 2020 15:47:40 +0800 Subject: [PATCH] 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 --- src/agent/src/mount.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agent/src/mount.rs b/src/agent/src/mount.rs index 2aedd9ed07..9198884745 100644 --- a/src/agent/src/mount.rs +++ b/src/agent/src/mount.rs @@ -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(