grpc: fix the issue of wrong containers base dir

The base dir should be "/run/kata-containers" instead
of "/run/agent".

Fixes: #92

Signed-off-by: lifupan <lifupan@gmail.com>
This commit is contained in:
lifupan 2019-11-25 10:33:43 +08:00
parent 5f29f3e293
commit aeeb6fce73

View File

@ -56,7 +56,7 @@ use std::path::PathBuf;
const SYSFS_MEMORY_BLOCK_SIZE_PATH: &'static str = "/sys/devices/system/memory/block_size_bytes";
const SYSFS_MEMORY_HOTPLUG_PROBE_PATH: &'static str = "/sys/devices/system/memory/probe";
pub const SYSFS_MEMORY_ONLINE_PATH: &'static str = "/sys/devices/system/memory";
const CONTAINER_BASE: &'static str = "/run/agent";
const CONTAINER_BASE: &'static str = "/run/kata-containers";
// Convenience macro to obtain the scope logger
macro_rules! sl {