summaryrefslogtreecommitdiff
path: root/lib/gitlab_config.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-08-16 15:22:50 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-08-20 12:26:10 +0200
commit9e7df846855d44302b516b6ee31b89fbb0477596 (patch)
tree22d78d2647bce638001ddffbc44763e3e8c6a908 /lib/gitlab_config.rb
parentd856f300a99bc9786e717243378fd9c088d25db0 (diff)
downloadgitlab-shell-zj-cleanup-exec.tar.gz
Clean up cmd_exec execution environmentzj-cleanup-exec
Given the gitaly-* now proxy the data from the client to the Gitaly server, the environment variables aren't used. Therefor we don't have to set them either. Only exception to the rule, is the GITALY_TOKEN. These changes also remove the `GIT_TRACE` options, introduced by 192e2bd367494bf66746c8971896a2d9cb84fc92. Part of: https://gitlab.com/gitlab-org/gitaly/issues/1300
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r--lib/gitlab_config.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb
index 7645989..85aa889 100644
--- a/lib/gitlab_config.rb
+++ b/lib/gitlab_config.rb
@@ -50,10 +50,6 @@ class GitlabConfig
@config['audit_usernames'] ||= false
end
- def git_trace_log_file
- @config['git_trace_log_file']
- end
-
def metrics_log_file
@config['metrics_log_file'] ||= File.join(ROOT_PATH, 'gitlab-shell-metrics.log')
end