projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Adding TCP Dump"
[osm/devops.git]
/
installers
/
charm
/
ro
/
src
/
pod_spec.py
diff --git
a/installers/charm/ro/src/pod_spec.py
b/installers/charm/ro/src/pod_spec.py
index
6c91baf
..
1beba17
100644
(file)
--- a/
installers/charm/ro/src/pod_spec.py
+++ b/
installers/charm/ro/src/pod_spec.py
@@
-45,8
+45,9
@@
def _validate_data(
)
if values.get("enable_ng_ro", True)
else True,
)
if values.get("enable_ng_ro", True)
else True,
- "log_level": lambda value, _: isinstance(value, str)
- and value in ("INFO", "DEBUG"),
+ "log_level": lambda value, _: (
+ isinstance(value, str) and value in ("INFO", "DEBUG")
+ ),
"vim_database": lambda value, values: (
isinstance(value, str) and len(value) > 0
)
"vim_database": lambda value, values: (
isinstance(value, str) and len(value) > 0
)