Skip to content

Commit

Permalink
Merge pull request #11261 from natefoo/pulsar-param-fix-21.01
Browse files Browse the repository at this point in the history
[21.01] Copy params so we don't modify the actual param dict in place
  • Loading branch information
jmchilton committed Jan 29, 2021
2 parents 44dd7e0 + 38cce47 commit 9916de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/pulsar.py
Expand Up @@ -371,7 +371,7 @@ def queue_job(self, job_wrapper):
metadata_directory = os.path.join(job_wrapper.working_directory, "metadata")

dest_params = job_destination.params
remote_pulsar_app_config = dest_params.get("pulsar_app_config", {})
remote_pulsar_app_config = dest_params.get("pulsar_app_config", {}).copy()
if "pulsar_app_config_path" in dest_params:
pulsar_app_config_path = dest_params["pulsar_app_config_path"]
with open(pulsar_app_config_path, "r") as fh:
Expand Down

0 comments on commit 9916de1

Please sign in to comment.