diff options
-rw-r--r-- | lib/gitlab_shell.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 9d92088..e71b418 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -133,10 +133,8 @@ class GitlabShell end args_string = [File.basename(executable), *args].join(' ') - GitlabMetrics.measure(File.basename(executable)) do - $logger.info "gitlab-shell: executing git command <#{args_string}> for #{log_username}." - exec_cmd(executable, *args) - end + $logger.info "gitlab-shell: executing git command <#{args_string}> for #{log_username}." + exec_cmd(executable, *args) end # This method is not covered by Rspec because it ends the current Ruby process. |