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 for more information.

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

Fixed deprecated opa function for comaptibility with OPA

parent 7d197c01
......@@ -92,7 +92,7 @@ void OpaSensorGroup::read() {
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