summaryrefslogtreecommitdiff
path: root/lib/gitlab_custom_hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab_custom_hook.rb')
-rw-r--r--lib/gitlab_custom_hook.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_custom_hook.rb b/lib/gitlab_custom_hook.rb
index 67096df..de6eb38 100644
--- a/lib/gitlab_custom_hook.rb
+++ b/lib/gitlab_custom_hook.rb
@@ -5,9 +5,9 @@ require_relative 'gitlab_metrics'
class GitlabCustomHook
attr_reader :vars, :config
- def initialize(repo_path, key_id)
+ def initialize(repo_path, gl_id)
@repo_path = repo_path
- @vars = { 'GL_ID' => key_id }
+ @vars = { 'GL_ID' => gl_id }
@config = GitlabConfig.new
end