Skip to content

Commit

Permalink
Fix req parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Chub committed Sep 10, 2024
1 parent 261966a commit 50c5e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion test/resources/sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,9 @@ spec:
- name: RESOURCE
value: both
- name: REQ_URL
value: http://dummy-server/reload
value: http://dummy-server/
- name: REQ_METHOD
value: GET
- name: REQ_ONCE_PER_BATCH
value: "true"
- name: LOG_LEVEL
Expand Down
3 changes: 0 additions & 3 deletions test/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ async def read_secure_data(auth: HTTPBasicCredentials = Depends(basic_auth_schem
)
return 'allowed'

@app.post("/reload", status_code=201)
async def read_item():
return 201

0 comments on commit 50c5e71

Please sign in to comment.