diff options
author | Pim van den Berg | 2010-05-17 23:17:44 +0200 |
---|---|---|
committer | Pim van den Berg | 2010-05-17 23:17:44 +0200 |
commit | b4428c224479050f4258d47e6dd46273cacccade (patch) | |
tree | 7175bc1a0d55b39a985e234316c2e09d3cc3c645 | |
parent | Allow to define alternate options for rrdtool in config file (diff) | |
download | apt-panopticon_cgp-b4428c224479050f4258d47e6dd46273cacccade.zip apt-panopticon_cgp-b4428c224479050f4258d47e6dd46273cacccade.tar.gz apt-panopticon_cgp-b4428c224479050f4258d47e6dd46273cacccade.tar.bz2 apt-panopticon_cgp-b4428c224479050f4258d47e6dd46273cacccade.tar.xz |
a source (type instance or data source) may contain dots
Like mentioned in the comment on the website below, I think there is no
problem a source contains dots. For now, this line is removed.
http://pommi.nethuis.nl/2010/01/collectd-graph-panel-v0-2/#comment-177
-rw-r--r-- | type/Default.class.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index c08745d..a56e00c 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
@@ -189,7 +189,6 @@ class Type_Default { | |||
189 | else { | 189 | else { |
190 | $sources = $this->tinstances; | 190 | $sources = $this->tinstances; |
191 | } | 191 | } |
192 | $sources = str_replace('.', '_', $sources); | ||
193 | } | 192 | } |
194 | # or one file with multiple data_sources | 193 | # or one file with multiple data_sources |
195 | else { | 194 | else { |