mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12124)
This commit is contained in:
@@ -33,7 +33,7 @@ if ($unit_long == $sensor['sensor_descr']) {
|
||||
$col_w = 7 + strlen($unit);
|
||||
$sensor_descr_fixed = rrdtool_escape($sensor['sensor_descr'], 28);
|
||||
|
||||
$rrd_options .= " COMMENT:'" . str_pad($unit_long, 35) . str_pad("Cur", $col_w) . str_pad("Min", $col_w) . "Max\\n'";
|
||||
$rrd_options .= " COMMENT:'" . str_pad($unit_long, 35) . str_pad('Cur', $col_w) . str_pad('Min', $col_w) . "Max\\n'";
|
||||
$rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE";
|
||||
|
||||
$num = '%5.2lf'; // default: float
|
||||
|
Reference in New Issue
Block a user