From 705e9955890d9c146ab98018cff81f2f23d0c330 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 16 Oct 2020 15:36:58 +0100 Subject: [PATCH] agent: Add env var comment Add a comment stating what the server address environment variable is for. Signed-off-by: James O. D. Hunt --- src/agent/src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/agent/src/config.rs b/src/agent/src/config.rs index 1fd6345762..33a600ca65 100644 --- a/src/agent/src/config.rs +++ b/src/agent/src/config.rs @@ -21,6 +21,8 @@ const DEFAULT_HOTPLUG_TIMEOUT: time::Duration = time::Duration::from_secs(3); const DEFAULT_CONTAINER_PIPE_SIZE: i32 = 0; const VSOCK_ADDR: &str = "vsock://-1"; const VSOCK_PORT: u16 = 1024; + +// Environment variable used for development and testing const SERVER_ADDR_ENV_VAR: &str = "KATA_AGENT_SERVER_ADDR"; // FIXME: unused