Commit 72888f59 authored by James Lopez's avatar James Lopez

update gitlab shell to remove git_protocol env var

parent 4304099c
......@@ -180,7 +180,6 @@ class GitlabShell # rubocop:disable Metrics/ClassLength
'GL_ID' => @gl_id,
'GL_PROTOCOL' => GL_PROTOCOL,
'GL_REPOSITORY' => @gl_repository,
'GIT_PROTOCOL' => @git_protocol,
'GL_USERNAME' => @username
}
if @gitaly && @gitaly.include?('token')
......
......@@ -463,7 +463,6 @@ describe GitlabShell do
'GL_PROTOCOL' => 'ssh',
'GL_REPOSITORY' => gl_repository,
'GL_USERNAME' => 'testuser',
'GIT_PROTOCOL' => 'version=2'
}
end
let(:exec_options) { { unsetenv_others: true, chdir: ROOT_PATH } }
......
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