Skip to content

Commit

Permalink
Adding changes to code to fix issue #13. Replacing extend method with…
Browse files Browse the repository at this point in the history
… append to avoid splitting by space.
  • Loading branch information
prashilsureja committed Sep 28, 2017
1 parent aaa3d95 commit a9f036e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/rest_api_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,9 @@ def execute_cli(self, base_response, api_metadata):
else:
airflow_cmd_split.extend(["--" + argument_name])
if argument["form_input_type"] is not "checkbox":
airflow_cmd_split.extend(argument_value.split(" "))
# Relacing airflow_cmd_split.extend(argument_value.split(" ") with command below to fix issue where configuration
# values contain space with them.
airflow_cmd_split.append(argument_value)
else:
logging.warning("argument_value is null")

Expand Down

0 comments on commit a9f036e

Please sign in to comment.