Skip to content

Commit

Permalink
Merge pull request #179 from stackhpc/upstream/2024.1-2024-12-16
Browse files Browse the repository at this point in the history
Synchronise 2024.1 with upstream
  • Loading branch information
priteau authored Dec 16, 2024
2 parents f146c6e + b474792 commit 8676641
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

- job:
name: magnum-tempest-plugin-tests-cluster-k8s_fcos_v1-1.27
parent: magnum-tempest-plugin-tests-cluster-k8s_fcos_v1
parent: magnum-tempest-plugin-tests-cluster-2024-1
vars:
devstack_localrc:
MAGNUM_KUBECTL_TAG: v1.27.8
Expand Down
3 changes: 2 additions & 1 deletion magnum/db/sqlalchemy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def _session_for_write():


def _wrap_session(session):
if CONF.profiler.enabled and CONF.profiler.trace_sqlalchemy:
if (hasattr(CONF, 'profiler') and CONF.profiler.enabled and
CONF.profiler.trace_sqlalchemy):
session = profiler_sqlalchemy.wrap_session(sa, session)
return session

Expand Down

0 comments on commit 8676641

Please sign in to comment.