Skip to content

Commit 91d3686

Browse files
author
Damir Zainullin
committed
++
1 parent 69c178f commit 91d3686

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/core/inputPlugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static telemetry::Content get_parser_stats_content(const ParserStats& parserStat
4242
dict["top_10_ports"] = "";
4343
} else {
4444
std::string top_ports = ports[0].to_string();
45-
dict["top_10_ports"] = std::accumulate(ports.begin() + 1, ports.end(), top_ports,
45+
dict["top_10_ports"] = std::accumulate(ports.begin() + 1, ports.end(), top_ports,
4646
[](std::string acc, const TopPorts::PortStats& port_frequency) {
4747
return acc + ", " + port_frequency.to_string();
4848
});
@@ -175,4 +175,4 @@ void InputPlugin::set_telemetry_dirs(
175175
configure_telemetry_dirs(plugin_dir, queues_dir);
176176
}
177177

178-
} // namespace ipxp
178+
} // namespace ipxp

src/plugins/input/parser/topPorts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ std::vector<TopPorts::PortStats> TopPorts::get_top_ports() const noexcept
7272
return port_buffer;
7373
}
7474

75-
} // namespace ipxp
75+
} // namespace ipxp

src/plugins/input/parser/topPorts.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ class TopPorts {
6868
const size_t m_top_ports_count;
6969
};
7070

71-
} // namespace ipxp
71+
} // namespace ipxp

0 commit comments

Comments
 (0)