Fix wrong tag for cloudwatch metrics response. Closes #2267.
This commit is contained in:
parent
574055da2c
commit
af0205b6a3
@ -275,7 +275,7 @@ GET_METRIC_STATISTICS_TEMPLATE = """<GetMetricStatisticsResponse xmlns="http://m
|
|||||||
<Label>{{ label }}</Label>
|
<Label>{{ label }}</Label>
|
||||||
<Datapoints>
|
<Datapoints>
|
||||||
{% for datapoint in datapoints %}
|
{% for datapoint in datapoints %}
|
||||||
<Datapoint>
|
<member>
|
||||||
{% if datapoint.sum is not none %}
|
{% if datapoint.sum is not none %}
|
||||||
<Sum>{{ datapoint.sum }}</Sum>
|
<Sum>{{ datapoint.sum }}</Sum>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -302,7 +302,7 @@ GET_METRIC_STATISTICS_TEMPLATE = """<GetMetricStatisticsResponse xmlns="http://m
|
|||||||
|
|
||||||
<Timestamp>{{ datapoint.timestamp }}</Timestamp>
|
<Timestamp>{{ datapoint.timestamp }}</Timestamp>
|
||||||
<Unit>{{ datapoint.unit }}</Unit>
|
<Unit>{{ datapoint.unit }}</Unit>
|
||||||
</Datapoint>
|
</member>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</Datapoints>
|
</Datapoints>
|
||||||
</GetMetricStatisticsResult>
|
</GetMetricStatisticsResult>
|
||||||
|
Loading…
Reference in New Issue
Block a user