Skip to content

Commit 6260b24

Browse files
dstandishnailo2c
authored andcommitted
Fix issue with bad log debug merge of context vars (apache#47589)
In the debug log helper, I didn't properly merge in additional kwargs. Needed to update instead of `**`.
1 parent 259a5f3 commit 6260b24

File tree

1 file changed

+1
-1
lines changed
  • airflow/dag_processing/bundles

1 file changed

+1
-1
lines changed

airflow/dag_processing/bundles/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ def log_debug(msg, **kwargs):
166166
versions_path=self.versions_dir,
167167
git_conn_id=self.git_conn_id,
168168
repo_url=self.repo_url,
169-
**kwargs,
170169
)
170+
context.update(kwargs)
171171

172172
for k, v in context.items():
173173
msg += f" {k}='{v}'"

0 commit comments

Comments
 (0)