0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-03-25 02:33:02 -05:00

fix test failed.

This commit is contained in:
novaeye 2015-12-18 12:34:12 +08:00
parent c64bcb2ae9
commit 08cff31d85

View file

@ -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{