git.graph-it.com
/
graphit
/
controlpi-graph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98f09a
)
Bugfix: 'filter' required instead of 'states'.
author
Benjamin Braatz
<bb@bbraatz.eu>
Wed, 29 Sep 2021 03:06:33 +0000
(
05:06
+0200)
committer
Benjamin Braatz
<bb@bbraatz.eu>
Wed, 29 Sep 2021 03:06:33 +0000
(
05:06
+0200)
controlpi_plugins/graph.py
patch
|
blob
|
history
diff --git
a/controlpi_plugins/graph.py
b/controlpi_plugins/graph.py
index 66da632cdbcb19c72ceeb813a06cdc4bcfd0b6ef..7e4ffade19774fb55a9ee779b983d6c00ae839f1 100644
(file)
--- a/
controlpi_plugins/graph.py
+++ b/
controlpi_plugins/graph.py
@@
-20,7
+20,7
@@
class Graph(BasePlugin):
'name': {'type': 'string'},
'filter': {'type': 'array',
'items': {'type': 'object'}}},
- 'required': ['url', 'crt', 'name', '
states
']}
+ 'required': ['url', 'crt', 'name', '
filter
']}
def process_conf(self) -> None:
"""Register plugin as bus client."""