diff --git a/middleware/proxy/proxy_test.go b/middleware/proxy/proxy_test.go index 55abe2dc2..f1c69e839 100644 --- a/middleware/proxy/proxy_test.go +++ b/middleware/proxy/proxy_test.go @@ -111,6 +111,10 @@ func (u *fakeUpstream) From() string { return "/" } +func (u *fakeUpstream) ProxyRedirects() map[string]string { + return make(map[string]string) +} + func (u *fakeUpstream) Select() *UpstreamHost { uri, _ := url.Parse(u.name) return &UpstreamHost{