mirror of
https://github.com/unraid/webgui.git
synced 2026-04-25 20:01:38 -05:00
Fix: CPU pinning crashing if 3rd party container present
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user