Code Review
/
optf
/
has.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Modify threshold policy to support multiple constraints
[optf/has.git]
/
conductor
/
conductor
/
controller
/
translator.py
diff --git
a/conductor/conductor/controller/translator.py
b/conductor/conductor/controller/translator.py
index
9fa5b6b
..
7cafad0
100644
(file)
--- a/
conductor/conductor/controller/translator.py
+++ b/
conductor/conductor/controller/translator.py
@@
-70,8
+70,7
@@
CONSTRAINTS = {
},
'threshold': {
'split': True,
- 'required': ['attribute', 'threshold', 'operator'],
- 'optional': ['unit']
+ 'required': ['evaluate'],
},
'distance_between_demands': {
'required': ['distance'],