summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2018-06-07 21:26:10 +0300
committerSaku Ytti <saku@ytti.fi>2018-06-07 21:26:10 +0300
commitd8fac87c883c5e9b8e8ac2a12d6397b19bbafb9d (patch)
treeb18fb2985af5dc6eeaf5d1fc0fd6c6ac40f8bdd1
parent3974501038ee6673245c92e3bf0282b6591b4707 (diff)
oops, actually add the class to source
-rw-r--r--lib/oxidized/manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb
index 892cdfc..8b34125 100644
--- a/lib/oxidized/manager.rb
+++ b/lib/oxidized/manager.rb
@@ -39,7 +39,7 @@ module Oxidized
def add_source name
return nil if @source.has_key? name
- @source.merge Manager.load(Config::SourceDir, name)
+ @source.merge! Manager.load(Config::SourceDir, name)
end
def add_model name