fix alarm history
camel-case conversion was missing for currentValues attribute Change-Id: I6ad53e41b7fe94c2a359204aa37c772ddfddff57
This commit is contained in:
parent
feb066fc2c
commit
0bc26e4ea0
@ -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":')
|
||||
|
Loading…
Reference in New Issue
Block a user