mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-25 05:58:16 +02:00
proxy: Fix policy reload regression (#396)
* Fix policy reload regression * Update changelog
This commit is contained in:
parent
8164cfd85a
commit
f20d913abe
4 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue