Commit 9b906b5f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove unused api response field

parent 60eed46b
...@@ -90,8 +90,6 @@ type Response struct { ...@@ -90,8 +90,6 @@ type Response struct {
Terminal *TerminalSettings Terminal *TerminalSettings
// Path to Gitaly Socket // Path to Gitaly Socket
GitalySocketPath string GitalySocketPath string
// Path to Gitaly HTTP resource
GitalyResourcePath string
} }
// singleJoiningSlash is taken from reverseproxy.go:NewSingleHostReverseProxy // singleJoiningSlash is taken from reverseproxy.go:NewSingleHostReverseProxy
......
...@@ -595,7 +595,6 @@ func TestApiContentTypeBlock(t *testing.T) { ...@@ -595,7 +595,6 @@ func TestApiContentTypeBlock(t *testing.T) {
func TestGetInfoRefsProxiedToGitalySuccessfully(t *testing.T) { func TestGetInfoRefsProxiedToGitalySuccessfully(t *testing.T) {
apiResponse := gitOkBody(t) apiResponse := gitOkBody(t)
apiResponse.GitalyResourcePath = "/projects/1/git-http/info-refs"
gitalyServer := startGitalyServer(t) gitalyServer := startGitalyServer(t)
defer func() { defer func() {
......
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