Skip to content

Commit

Permalink
fix(http-operator): fix connection template (#10)
Browse files Browse the repository at this point in the history
jira: CORP-5481

Co-authored-by: Mandeep Bahal <[email protected]>
  • Loading branch information
msbahal and Mandeep Bahal authored Sep 24, 2024
1 parent 8e7bd56 commit 620ba3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/codegen/dag.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def create_http_connection(custom_conn_config, session=None):
else:
# Create a new connection if it doesn't exist
connection = Connection(
conn_id=conn['ConnectionID'],
conn_id=custom_conn_config['ConnectionID'],
conn_type='http',
host=conn['Host'],
port=conn['Port']
host=custom_conn_config['Host'],
port=custom_conn_config['Port']
)
session.add(connection)
session.commit()
Expand Down

0 comments on commit 620ba3b

Please sign in to comment.