Code Review
/
ric-app
/
mc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update release information for mc-core
[ric-app/mc.git]
/
mc-core
/
mc
/
extract_params.py
diff --git
a/mc-core/mc/extract_params.py
b/mc-core/mc/extract_params.py
index
3368651
..
21d7207
100644
(file)
--- a/
mc-core/mc/extract_params.py
+++ b/
mc-core/mc/extract_params.py
@@
-30,7
+30,7
@@
ret = ''
with open(xapp_descriptor_file) as f:
data = json.load(f)
with open(xapp_descriptor_file) as f:
data = json.load(f)
- if '
parameters' in data.keys() and param_name in data['parameter
s'].keys():
- ret = data['
parameter
s'][param_name]
+ if '
controls' in data.keys() and param_name in data['control
s'].keys():
+ ret = data['
control
s'][param_name]
print ret
print ret