proxy: Fix policy reload regression (#396)

* Fix policy reload regression

* Update changelog
This commit is contained in:
Travis Groth 2019-11-22 19:28:36 -05:00 committed by GitHub
parent 8164cfd85a
commit f20d913abe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View file

@ -136,7 +136,7 @@ func newProxyService(opt config.Options, r *mux.Router) (*proxy.Proxy, error) {
if err != nil {
return nil, err
}
r.PathPrefix("/").Handler(service.Handler)
r.PathPrefix("/").Handler(service)
return service, nil
}