Fix: CPU pinning crashing if 3rd party container present

This commit is contained in:
Squidly271
2025-10-22 13:28:18 -04:00
committed by GitHub
parent 0eb5f95d87
commit 55c3c7031a
@@ -68,6 +68,7 @@ switch ($data['id']) {
foreach ($map as $name => $cpuset) {
/* set full path of template file */
$file = $DockerTemplates->getUserTemplate($name);
if ( ! is_file($file) ) continue;
$xml = simplexml_load_file($file);
if ($xml->CPUset) {
/* update node */