From edae75c21a8f657dd6cc9ace9e8e844ef337a951 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 18:15:12 +0200 Subject: rename ds_names and dsname to legend This had nothing to do with an RRD data source. --- plugin/zfs_arc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin/zfs_arc.php') diff --git a/plugin/zfs_arc.php b/plugin/zfs_arc.php index 5fc4407..5c25c3a 100644 --- a/plugin/zfs_arc.php +++ b/plugin/zfs_arc.php @@ -35,7 +35,7 @@ switch($obj->args['type']) { 'hits-prefetch_metadata' => 'ff00ff', 'misses-prefetch_metadata' => '888800', ); - $obj->ds_names = array( + $obj->legend = array( 'hits-demand_data' => 'data hits', 'misses-demand_data' => 'metadata misses', 'hits-demand_metadata' => 'metadata hits', @@ -64,7 +64,7 @@ switch($obj->args['type']) { 'write', 'read', ); - $obj->ds_names = array( + $obj->legend = array( 'write' => 'Write', 'read' => 'Read', ); @@ -79,7 +79,7 @@ switch($obj->args['type']) { $obj->data_sources = array( 'value', ); - $obj->ds_names = array( + $obj->legend = array( 'value' => 'Bytes', ); $obj->colors = array( -- cgit v1.1