Make docker app work with rrdcached (#12746)

* docker app rrdcached

* offset fix and formatting fix

* more fixes

* Update Rrd.php

* Update Rrd.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
This commit is contained in:
djamp42
2021-04-21 08:40:48 -04:00
committed by GitHub
parent 7c157c1577
commit 97d20dd09a
3 changed files with 67 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ $smalldescrlen = 25;
if (isset($vars['container'])) {
$containers = [$vars['container']];
} else {
$containers = get_arrays_with_application($device, $app['app_id'], 'docker');
$containers = Rrd::getRrdApplicationArrays($device, $app['app_id'], 'docker');
}
$int = 0;