diff options
author | Robert Speicher <robert@gitlab.com> | 2018-08-08 17:38:38 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-08-08 17:38:38 +0000 |
commit | 3aaf4751e09262c53544a1987f59b1308af9b6c1 (patch) | |
tree | 019332604ac4853db5d80bca95f229c95d1fc298 /lib/gitlab_custom_hook.rb | |
parent | c6577e0d75f51b017f2f332838b97c3ca5b497c0 (diff) | |
parent | 014691e057537a803e22223ea072065cc91938a7 (diff) | |
download | gitlab-shell-3aaf4751e09262c53544a1987f59b1308af9b6c1.tar.gz |
Merge branch 'ash.mckenzie/srp-refactor' into 'master'
Refactor that focuses on SRP improvements
See merge request gitlab-org/gitlab-shell!214
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 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 |