Skip to content

Commit

Permalink
[hotfix][doc] Fix curl example in upload jar example
Browse files Browse the repository at this point in the history
This closes apache#6706.
  • Loading branch information
satybald authored and GJL committed Sep 20, 2018
1 parent a8964ac commit b3faf4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static JarUploadHeaders getInstance() {
public String getDescription() {
return "Uploads a jar to the cluster. The jar must be sent as multi-part data. Make sure that the \"Content-Type\"" +
" header is set to \"application/x-java-archive\", as some http libraries do not add the header by default.\n" +
"Using 'curl' you can upload a jar via 'curl -X POST -H \"Expect:\" -F \"jarfile=#path/to/flink-job.jar\" https://hostname:port" + URL + "'.";
"Using 'curl' you can upload a jar via 'curl -X POST -H \"Expect:\" -F \"jarfile=@path/to/flink-job.jar\" https://hostname:port" + URL + "'.";
}

@Override
Expand Down

0 comments on commit b3faf4c

Please sign in to comment.