mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12120)
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
require 'includes/html/graphs/common.inc.php';
|
||||
|
||||
$rrd_filename = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
|
||||
$rrd_filename = rrd_name($device['hostname'], ['app', 'drbd', $app['app_instance']]);
|
||||
|
||||
$array = array(
|
||||
'lo' => 'Local I/O',
|
||||
'pe' => 'Pending',
|
||||
'ua' => 'UnAcked',
|
||||
'ap' => 'App Pending',
|
||||
);
|
||||
$array = [
|
||||
'lo' => 'Local I/O',
|
||||
'pe' => 'Pending',
|
||||
'ua' => 'UnAcked',
|
||||
'ap' => 'App Pending',
|
||||
];
|
||||
|
||||
$i = 0;
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
@@ -28,8 +28,8 @@ if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
echo "file missing: $file";
|
||||
}
|
||||
|
||||
$colours = 'mixed';
|
||||
$nototal = 0;
|
||||
$colours = 'mixed';
|
||||
$nototal = 0;
|
||||
$unit_text = '';
|
||||
|
||||
require 'includes/html/graphs/generic_multi_simplex_seperated.inc.php';
|
||||
|
||||
Reference in New Issue
Block a user