Code Review
/
ric-plt
/
xapp-frame-py.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
2def417
)
Fix caching of error code data not happening
19/7419/1
author
Alexandre Huff
<alexandrehuff@utfpr.edu.br>
Fri, 17 Dec 2021 11:04:48 +0000
(08:04 -0300)
committer
Alexandre Huff
<alexandrehuff@utfpr.edu.br>
Fri, 17 Dec 2021 11:04:48 +0000
(08:04 -0300)
The state_to_status() function re-generates the mapping dict on
every call, which could negatively affect performance.
This change only generates the mapping dict on first call and
caches it for subsequent calls.
Issue-Id: RIC-862
Signed-off-by: Alexandre Huff <alexandrehuff@utfpr.edu.br>
Change-Id: Ida25c5d1f08b4b82e100b6c67ffe911bb8093224
No differences found