aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/md.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-03 18:15:12 +0200
committerPim van den Berg2014-05-03 19:21:36 +0200
commitedae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch)
treeda0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/md.php
parenttype/base: set default values for rrd_title and rrd_format (diff)
downloadapt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/md.php')
-rw-r--r--plugin/md.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/md.php b/plugin/md.php
index 03f529a..9d09efe 100644
--- a/plugin/md.php
+++ b/plugin/md.php
@@ -10,7 +10,7 @@ require_once 'type/Default.class.php';
10# md-XXXX/md_disks-XXXX.rrd 10# md-XXXX/md_disks-XXXX.rrd
11 11
12$obj = new Type_Default($CONFIG, $_GET); 12$obj = new Type_Default($CONFIG, $_GET);
13$obj->ds_names = array( 13$obj->legend = array(
14 'value' => 'Value', 14 'value' => 'Value',
15); 15);
16$obj->rrd_title = sprintf('Disks (md-%s)', $obj->args['pinstance']); 16$obj->rrd_title = sprintf('Disks (md-%s)', $obj->args['pinstance']);