diff options
author | Robert Speicher <robert@gitlab.com> | 2018-08-14 18:49:15 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-08-14 18:49:15 +0000 |
commit | 02457041814fe4497b3df00e0e45edbee107c823 (patch) | |
tree | 6b07ce701bf00608cb21a3c1322a15c71a48d137 /lib/gitlab_custom_hook.rb | |
parent | 2dcf8b77a61c4c7cfebe8ae13f8112a0471056b0 (diff) | |
parent | c36e35c4510cf78ba3e642346bf7aa7cbc0efab3 (diff) | |
download | gitlab-shell-02457041814fe4497b3df00e0e45edbee107c823.tar.gz |
Merge branch 'revert-refactor' into 'master'
Revert refactor
Closes #147
See merge request gitlab-org/gitlab-shell!228
Diffstat (limited to 'lib/gitlab_custom_hook.rb')
-rw-r--r-- | lib/gitlab_custom_hook.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_custom_hook.rb b/lib/gitlab_custom_hook.rb index de6eb38..67096df 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, gl_id) + def initialize(repo_path, key_id) @repo_path = repo_path - @vars = { 'GL_ID' => gl_id } + @vars = { 'GL_ID' => key_id } @config = GitlabConfig.new end |