test_1
This commit is contained in:
parent
a517041084
commit
7bc3f9f3cb
1 changed files with 2 additions and 2 deletions
|
|
@ -444,12 +444,12 @@ ErrorCode ServerController::buildContainerWorker(const ServerCredentials &creden
|
||||||
return ErrorCode::NoError;
|
return ErrorCode::NoError;
|
||||||
};
|
};
|
||||||
|
|
||||||
errorCode error =
|
ErrorCode error =
|
||||||
runScript(credentials,
|
runScript(credentials,
|
||||||
replaceVars(amnezia::scriptData(SharedScriptType::build_container), genVarsForScript(credentials, container, config)),
|
replaceVars(amnezia::scriptData(SharedScriptType::build_container), genVarsForScript(credentials, container, config)),
|
||||||
cbReadStdOut, cbReadStdErr);
|
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 ErrorCode::ServerRuncNotWorkOnCgroupsV2;
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue