correction node_ids
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Fri, 12 Jun 2009 17:38:52 +0000 (17:38 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Fri, 12 Jun 2009 17:38:52 +0000 (17:38 +0000)
geni/util/nodes.py

index 1def419..8b2b256 100644 (file)
@@ -162,7 +162,7 @@ class Nodes(SimpleStorage):
             else:
                 slice = slices[0]
                 node_ids = slice['node_ids']
-                nodes = self.api.plshell.GetNodes(self.api.plauth, {'peer_id': None, 'node_ids': node_ids})
+                nodes = self.api.plshell.GetNodes(self.api.plauth, {'peer_id': None, 'node_id': node_ids})
 
         # Filter out whitelisted nodes
         public_nodes = lambda n: n.has_key('slice_ids_whitelist') and not n['slice_ids_whitelist']