Removes call to .lower on vnf_member_index in alarm creation
Currently this does not produce an error just because vnf_member_index
is been passed as a string in the kafka msg. Considering that in the IM
it is a integer, this may change in the future, in which case this would
fail. It also does not make any sense and can be considered a typo.
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
diff --git a/osm_mon/plugins/OpenStack/Aodh/alarming.py b/osm_mon/plugins/OpenStack/Aodh/alarming.py
index f380b4e..cea12ba 100644
--- a/osm_mon/plugins/OpenStack/Aodh/alarming.py
+++ b/osm_mon/plugins/OpenStack/Aodh/alarming.py
@@ -108,7 +108,7 @@
alarm_details['operation'].lower(),
alarm_details['metric_name'].lower(),
alarm_details['vdu_name'].lower(),
- alarm_details['vnf_member_index'].lower(),
+ alarm_details['vnf_member_index'],
alarm_details['ns_id'].lower()
)
status = True