git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction node_ids
[sfa.git]
/
geni
/
util
/
nodes.py
diff --git
a/geni/util/nodes.py
b/geni/util/nodes.py
index
1def419
..
8b2b256
100644
(file)
--- a/
geni/util/nodes.py
+++ b/
geni/util/nodes.py
@@
-162,7
+162,7
@@
class Nodes(SimpleStorage):
else:
slice = slices[0]
node_ids = slice['node_ids']
else:
slice = slices[0]
node_ids = slice['node_ids']
- nodes = self.api.plshell.GetNodes(self.api.plauth, {'peer_id': None, 'node_id
s
': 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']
# Filter out whitelisted nodes
public_nodes = lambda n: n.has_key('slice_ids_whitelist') and not n['slice_ids_whitelist']