From 9f332dc34c933eb1f309fb43923d602c8ec9958d Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 24 Aug 2023 11:15:11 -0500 Subject: http-api: T5006: add explicit async to retrieve operation --- src/services/vyos-http-api-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3