summaryrefslogtreecommitdiff
path: root/lib/oxidized/source/source.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/source/source.rb')
-rw-r--r--lib/oxidized/source/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/source/source.rb b/lib/oxidized/source/source.rb
index 3c1f255..7862dd1 100644
--- a/lib/oxidized/source/source.rb
+++ b/lib/oxidized/source/source.rb
@@ -2,7 +2,7 @@ module Oxidized
class Source
class NoConfig < OxidizedError; end
def initialize
- @map = (CFG.model_map or {})
+ @map = (Oxidized.config.model_map or {})
end
def map_model model
@map.has_key?(model) ? @map[model] : model