In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

Commit 6c5e419a authored by Daniele Tafani's avatar Daniele Tafani

Fixed deprecated opa function for comaptibility with OPA 10.9.3.1.1

parent 7d197c01
......@@ -92,7 +92,7 @@ void OpaSensorGroup::read() {
STL_PORT_COUNTERS_DATA portCounters;
try {
if (omgt_pa_get_port_stats(_port, _imageId, 1, _portNum, &_imageId, &portCounters, NULL, 0, 1)) {
if (omgt_pa_get_port_stats2(_port, _imageId, 1, _portNum, &_imageId, &portCounters, NULL, 0, 1)) {
throw std::runtime_error("Failed to get port counters");
}
} catch (const std::exception &e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment