From 80860478bf92449eded7fdd04129f263cea6f07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 23 Nov 2023 10:18:44 +0100 Subject: [PATCH] runtime-rs: Remove the golang config paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the configuration files are different, we can safely remove those as any new installation of the binary should also bring in the new configurations. This makes things less error-prone in the future, as we're ensuring that the rust runtime will only be reading the rust configuration files. Signed-off-by: Fabiano FidĂȘncio --- src/libs/kata-types/src/config/default.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libs/kata-types/src/config/default.rs b/src/libs/kata-types/src/config/default.rs index ca95fcbc3c..73f368e4f1 100644 --- a/src/libs/kata-types/src/config/default.rs +++ b/src/libs/kata-types/src/config/default.rs @@ -18,11 +18,6 @@ lazy_static! { "/etc/kata-containers/runtime-rs/configuration.toml", "/usr/share/defaults/kata-containers/runtime-rs/configuration.toml", "/opt/kata/share/defaults/kata-containers/runtime-rs/configuration.toml", - - // The traditional golang paths - "/etc/kata-containers/configuration.toml", - "/usr/share/defaults/kata-containers/configuration.toml", - "/opt/kata/share/defaults/kata-containers/configuration.toml", ]; }