summaryrefslogtreecommitdiff
path: root/lib/oxidized/hook
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-02-19 18:58:47 -0200
committerDanilo Sousa <dsgoncalves@uoldiveo.com>2016-02-19 18:58:47 -0200
commita486e086fc3b52f26ade94e58a16fa2150fc9cae (patch)
tree3d6bc37aa024a2a6f1afc9879bc595fe78b4e497 /lib/oxidized/hook
parent70bbbb2ca879af28afb8d7b739e4379907fd426a (diff)
move the groups remote to the hook config
thanks to @ElvinEfendi for the idea! :+1:
Diffstat (limited to 'lib/oxidized/hook')
-rw-r--r--lib/oxidized/hook/githubrepo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/hook/githubrepo.rb b/lib/oxidized/hook/githubrepo.rb
index dd9520b..0c75c68 100644
--- a/lib/oxidized/hook/githubrepo.rb
+++ b/lib/oxidized/hook/githubrepo.rb
@@ -58,7 +58,7 @@ class GithubRepo < Oxidized::Hook
if node.group.nil? || single_repo?
cfg.remote_repo
else
- Oxidized.config.groups[node.group].remote_repo
+ cfg.remote_repo[node.group]
end
end