mirror of
https://github.com/unraid/webgui.git
synced 2026-01-17 15:10:02 -06:00
Merge pull request #2433 from Squidly271/patch-12
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