Closed michelekorell closed 2 years ago
https://github.com/spring-cloud/spring-cloud-dataflow-samples/blob/1dad5f5f1de17c26b5a24d03d03e4c9047e74ecf/dataflow-website/recipes/polyglot/polyglot-python-task/util/task_args.py#L16
Hello,
The use of split('=') generate an array with three arguments in case we pass a url completed by query params.
Example: --spring.datasource.url=jdbc:postgresql://pgdb:5432/MY_DB?currentSchema=scdf_admin
I fixed it in my code with:
a.split('=', 1) for a in sys.argv[1:]
I go to perform the pull request to fix it.
Bests regards!
https://github.com/spring-cloud/spring-cloud-dataflow-samples/blob/1dad5f5f1de17c26b5a24d03d03e4c9047e74ecf/dataflow-website/recipes/polyglot/polyglot-python-task/util/task_args.py#L16
Hello,
The use of split('=') generate an array with three arguments in case we pass a url completed by query params.
Example: --spring.datasource.url=jdbc:postgresql://pgdb:5432/MY_DB?currentSchema=scdf_admin
I fixed it in my code with:
I go to perform the pull request to fix it.
Bests regards!