diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-24 20:16:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 20:16:57 +0200 |
commit | 115dd78587197457e17b883f43f08e0a1da75ba6 (patch) | |
tree | f7dfb1ebf1d3dcd839e3c7c5c863351d95d5941c /src/services/vyos-http-api-server | |
parent | f70e2b69a5ba80abda044ad4f9cdc5a345bce2fd (diff) | |
parent | 9f332dc34c933eb1f309fb43923d602c8ec9958d (diff) | |
download | vyos-1x-115dd78587197457e17b883f43f08e0a1da75ba6.tar.gz vyos-1x-115dd78587197457e17b883f43f08e0a1da75ba6.zip |
Merge pull request #2167 from jestabro/eq-T5006
http-api: T5006: add explicit async to retrieve operation
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-x | src/services/vyos-http-api-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index ece3aa9b2..a5dccb3b4 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -480,7 +480,7 @@ def configure_op(data: Union[ConfigureModel, ConfigureListModel]): return success(None) @app.post("/retrieve") -def retrieve_op(data: RetrieveModel): +async def retrieve_op(data: RetrieveModel): session = app.state.vyos_session env = session.get_session_env() config = vyos.config.Config(session_env=env) |