From cae5ac7be18cd24882c9c6520968b025dfe0d3b6 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 2 Apr 2024 14:27:43 +0100 Subject: [PATCH] db: Remove final use of legacy facade Signed-off-by: Stephen Finucane Change-Id: I1251a5c0b2f073604ae61f378992fea7df51c07d --- manila/db/sqlalchemy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manila/db/sqlalchemy/api.py b/manila/db/sqlalchemy/api.py index 0d4f61c76d..57e5a8fc9a 100644 --- a/manila/db/sqlalchemy/api.py +++ b/manila/db/sqlalchemy/api.py @@ -81,7 +81,7 @@ context_manager.configure(__autocommit=True) def get_engine(): - return context_manager._factory.get_legacy_facade().get_engine() + return context_manager.writer.get_engine() def get_backend():