diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-09-28 14:59:28 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2021-10-06 08:50:26 +0000 |
commit | b61c774897a6cce09bd597af6124831e8aea5e8c (patch) | |
tree | 81f8d4a01b24b1beb98a04a2efd24e43b11811cd /resources/libraries/python/LoadBalancerUtil.py | |
parent | 78c59bd99bec595acbd24be8fb1c3337e4b41e56 (diff) |
Fix: Do not touch PAPI history on bad DICT__nodes
Usually, DICT__nodes is populated from reserved topology yaml.
But is some cases (doc generation, maybe pylint) there is no yaml.
The proper fix is to never execute any business logic
just when a module is imported.
This is just a quick workaround.
Ticket: CSIT-1793
Change-Id: I6d7250dc75d12baf120758ade8730af89431265a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/LoadBalancerUtil.py')
0 files changed, 0 insertions, 0 deletions