Commit 510435a1 by Karsa Zoltán István

add datacenter to delete method

parent 9f1521e8
...@@ -54,9 +54,9 @@ def proxy_get( ...@@ -54,9 +54,9 @@ def proxy_get(
@app.delete("/lb/{server_path:path}") @app.delete("/lb/{server_path:path}")
def proxy_delete( def proxy_delete(
server_path: str = "/", username=Depends(get_current_user), body=Body() server_path: str = "/", username=Depends(get_current_user), datacenter: str = ""
): ):
return proxy_datacenters(server_path, username, body=body, method="DELETE") return proxy_datacenters(server_path, username, method="DELETE", datacenter=datacenter)
@app.post("/lb/rr/{server_path:path}") @app.post("/lb/rr/{server_path:path}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment