Skip to content

Commit 796865e

Browse files
committed
Fix the amqp connection for WorkflowExecutionHandler to pass the
SSL params. To pass the SSL params, get_connection() should be used instead. Related commit: dd4465a
1 parent b763c71 commit 796865e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

st2actions/st2actions/workflows/workflows.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
from __future__ import absolute_import
1616

17-
import kombu
18-
1917
from orquesta import statuses
2018

2119
from st2common.constants import action as ac_const
@@ -179,5 +177,5 @@ def handle_action_execution(self, ac_ex_db):
179177

180178

181179
def get_engine():
182-
with kombu.Connection(txpt_utils.get_messaging_urls()) as conn:
180+
with txpt_utils.get_connection() as conn:
183181
return WorkflowExecutionHandler(conn, WORKFLOW_EXECUTION_QUEUES)

0 commit comments

Comments
 (0)