Skip to content
Snippets Groups Projects
Commit de111d2e authored by geant-release-service's avatar geant-release-service
Browse files

Finished release 0.109.

parents 0599ca7e cc3c1e59
No related branches found
Tags 0.109
No related merge requests found
......@@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
## [0.109] - 2023-09-04
- Bugfix in _get_speed function in the ims update task for unhandled keyError
## [0.108] - 2023-08-18
- POL1-689: Use interface-info calls to get interface speeds
......
......@@ -760,8 +760,8 @@ def ims_task(self, use_current=False):
transformed_data = transform_ims_data(extracted_data)
persist_ims_data(transformed_data, use_current)
except Exception as e:
logger.error(e)
except Exception:
logger.exception('Error in IMS task:')
update_latch_status(InventoryTask.config, pending=True, failure=True)
......@@ -1014,7 +1014,9 @@ def transform_ims_data(data):
return int(value) * conversions[unit]
def _get_speed(circuit_id):
c = hierarchy[circuit_id]
c = hierarchy.get(circuit_id)
if c is None:
return 0
if c['status'] != 'operational':
return 0
pattern = re.compile(r'^(\d+)([a-zA-z]+)$')
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='inventory-provider',
version="0.108",
version="0.109",
author='GEANT',
author_email='swd@geant.org',
description='Dashboard inventory provider',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment