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

@ -222,7 +222,7 @@ func Test_UpdateOptions(t *testing.T) {
if err == nil {
r := httptest.NewRequest("GET", tt.host, nil)
w := httptest.NewRecorder()
p.Handler.ServeHTTP(w, r)
p.ServeHTTP(w, r)
if tt.wantRoute && w.Code != http.StatusNotFound {
t.Errorf("Failed to find route handler")
return