From 15b91f35cf4f3fc906a483477c170e42255e0b9b Mon Sep 17 00:00:00 2001 From: Sabby Anandan Date: Tue, 4 Jun 2019 15:43:41 -0700 Subject: [PATCH] Fix typo in python recipe Resolves #104 --- .../recipes/polyglot/polyglot-python-processor/README.md | 2 +- .../polyglot/polyglot-python-processor/util/task_args.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md b/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md index c94e881..c194d86 100644 --- a/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md +++ b/dataflow-website/recipes/polyglot/polyglot-python-processor/README.md @@ -52,7 +52,7 @@ INFO 1 --- [container-0-C-1] log-sink : hello wo Post and log a reversed string: ``` -dataflow:>stream create --name test --definition "http --server.port=32123 | python-processor --reverestring=true | log" +dataflow:>stream create --name test --definition "http --server.port=32123 | python-processor --reversestring=true | log" dataflow:>stream deploy test --properties "deployer.http.kubernetes.createNodePort=32123" dataflow:>http post --target http://192.168.99.104:32123 --data "hello world" > POST (text/plain) http://192.168.99.104:32123 hello world diff --git a/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py b/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py index d7acc20..b84b8ae 100644 --- a/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py +++ b/dataflow-website/recipes/polyglot/polyglot-python-processor/util/task_args.py @@ -30,4 +30,4 @@ def get_output_channel(): return get_cmd_arg("spring.cloud.stream.bindings.output.destination") def get_reverse_string(): - return get_cmd_arg("reverestring") + return get_cmd_arg("reversestring")