From 7bc3f9f3cb8fea7939828751ccdbfcd881d256f7 Mon Sep 17 00:00:00 2001 From: lunardunno <126363523+lunardunno@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:02:50 +0400 Subject: [PATCH] test_1 --- client/core/controllers/serverController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/core/controllers/serverController.cpp b/client/core/controllers/serverController.cpp index d8676b38..92c3ae06 100644 --- a/client/core/controllers/serverController.cpp +++ b/client/core/controllers/serverController.cpp @@ -444,12 +444,12 @@ ErrorCode ServerController::buildContainerWorker(const ServerCredentials &creden return ErrorCode::NoError; }; - errorCode error = + ErrorCode error = runScript(credentials, replaceVars(amnezia::scriptData(SharedScriptType::build_container), genVarsForScript(credentials, container, config)), cbReadStdOut, cbReadStdErr); - if (stdOut.contains("runc doesn't work on cgroups v2") ) + if (stdOut.contains("runc doesn't work on cgroups v2")) return ErrorCode::ServerRuncNotWorkOnCgroupsV2; return error;