getValue...
This commit is contained in:
parent
6cabfd73ff
commit
5811d83e0d
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ std::string StatsSerializer::serializePayload(boost::shared_ptr<StatsPayload> st
|
|||
if (!item.getUnits().empty()) {
|
||||
statElement->setAttribute("units", item.getUnits());
|
||||
}
|
||||
if (!item.getUnits().empty()) {
|
||||
statElement->setAttribute("value", item.getUnits());
|
||||
if (!item.getValue().empty()) {
|
||||
statElement->setAttribute("value", item.getValue());
|
||||
}
|
||||
|
||||
queryElement.addNode(statElement);
|
||||
|
|
Loading…
Add table
Reference in a new issue