fix alarm history

camel-case conversion was missing for currentValues attribute

Change-Id: I6ad53e41b7fe94c2a359204aa37c772ddfddff57
This commit is contained in:
Joachim Barheine 2016-06-03 14:10:32 +02:00
parent feb066fc2c
commit 0bc26e4ea0
1 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,11 @@ def parse_alarm_state_hist_message(message):
'"subAlarmExpression":',
'"sub_alarm_expression":')
sub_alarms_json_snake_case = sub_alarms_json_snake_case.replace(
'"currentValues":',
'"current_values":')
# jobrs: I do not think that this shows up
sub_alarms_json_snake_case = sub_alarms_json_snake_case.replace(
'"metricDefinition":',
'"metric_definition":')