Commit 59b33bf8 authored by Leigh Stoller's avatar Leigh Stoller

Do not add sharing mode features if $useshared is not set.

parent f72cc3bf
......@@ -517,7 +517,7 @@ while (($node,$type,$physnode,$class,$issubnode,$def_boot_osid,$reserved,
} else {
$is_reserved{$node} = 0;
}
if ($sharing_mode) {
if ($useshared && $sharing_mode) {
$sharing_mode{$node} = { "load_1min" => $load_1min,
"load_5min" => $load_5min,
"load_tstamp" => $load_tstamp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment