From cda96eb70992cc80d0dde8195df57d7b5c4a1429 Mon Sep 17 00:00:00 2001 From: Ash McKenzie Date: Tue, 31 Jul 2018 15:50:31 +1000 Subject: Use gl_id instead of key_id - Is possible that gl_id could be a 'user_id' - Is a more accurate variable name --- lib/gitlab_custom_hook.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/gitlab_custom_hook.rb') 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 -- cgit v1.2.1