Fixed takesnapshot
This commit is contained in:
2
main.py
2
main.py
@@ -104,7 +104,7 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet
|
|||||||
cs.operations = jo_root['operations']
|
cs.operations = jo_root['operations']
|
||||||
return execute_batch_commands(network, cs)
|
return execute_batch_commands(network, cs)
|
||||||
|
|
||||||
@app.post("/tacksnapshot/")
|
@app.post("/takesnapshot/")
|
||||||
async def fastapi_take_snapeshot(network: str, snapshot: str)-> int:
|
async def fastapi_take_snapeshot(network: str, snapshot: str)-> int:
|
||||||
return take_snapshot(network, snapshot)
|
return take_snapshot(network, snapshot)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user