lib/visage/collectd/rrds.rb in visage-app-0.2.4 vs lib/visage/collectd/rrds.rb in visage-app-0.2.5
- old
+ new
@@ -8,10 +8,10 @@
module Collectd
class RRDs
class << self
def rrddir
- @rrddir = "/var/lib/collectd/rrd"
+ @rrddir ||= Visage::Config.rrddir
end
def hosts(opts={})
case
when opts[:hosts].blank?