Commit 1d7b7d88 authored by Kim "BKC" Carlbäcker's avatar Kim "BKC" Carlbäcker

metrics makes no sense because 'exec'

parent 154edf88
......@@ -133,11 +133,9 @@ 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
end
# This method is not covered by Rspec because it ends the current Ruby process.
def exec_cmd(*args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment