git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- return signed slice tickets in the format that new NM
[plcapi.git]
/
PLC
/
Methods
/
AddNodeGroup.py
diff --git
a/PLC/Methods/AddNodeGroup.py
b/PLC/Methods/AddNodeGroup.py
index
23462f7
..
bdde7fe
100644
(file)
--- a/
PLC/Methods/AddNodeGroup.py
+++ b/
PLC/Methods/AddNodeGroup.py
@@
-32,6
+32,8
@@
class AddNodeGroup(Method):
nodegroup = NodeGroup(self.api, nodegroup_fields)
nodegroup.sync()
nodegroup = NodeGroup(self.api, nodegroup_fields)
nodegroup.sync()
+ # Logging variables
self.object_ids = [nodegroup['nodegroup_id']]
self.object_ids = [nodegroup['nodegroup_id']]
-
+ self.message = 'Node group %d created' % nodegroup['nodegroup_id']
+
return nodegroup['nodegroup_id']
return nodegroup['nodegroup_id']