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-24 10:29:41 +0200
commit911e49e1894060404d4400efe06203e9e747a9d8 (patch)
tree708c07c236619ab3153bb96556169b8d1a4409b8 /lib/gitlab_config.rb
parentd856f300a99bc9786e717243378fd9c088d25db0 (diff)
downloadgitlab-shell-911e49e1894060404d4400efe06203e9e747a9d8.tar.gz
Clean up cmd_exec execution environment
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