xend: fix a typo introduced by changeset 20621:f9392f6eda79

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
This commit is contained in:
Keir Fraser committed 2009-12-14 07:58:47 +00:00
1 parent 30acac4606
commit 51dfdb01ad
1 file changed
+1 -1
+1 -1
View File
@@ -2672,7 +2672,7 @@ class XendDomainInfo:
for i in range(0, nr_nodes):
nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i]))
if len(info['node_to_cpu'][i]) == 0 or i not in node_list:
nodelist[i] += 8
nodeload[i] += 8
return map(lambda x: x[0], sorted(enumerate(nodeload), key=lambda x:x[1]))
info = xc.physinfo()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.