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
- added logging vars
[plcapi.git]
/
PLC
/
Methods
/
GetBootStates.py
diff --git
a/PLC/Methods/GetBootStates.py
b/PLC/Methods/GetBootStates.py
index
1afa53b
..
1c9afc3
100644
(file)
--- a/
PLC/Methods/GetBootStates.py
+++ b/
PLC/Methods/GetBootStates.py
@@
-16,6
+16,9
@@
class GetBootStates(Method):
]
returns = [BootState.fields['boot_state']]
+
+ event_type = 'Get'
+ object_type = 'BootState'
def call(self, auth):
return [boot_state['boot_state'] for boot_state in BootStates(self.api)]