You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ga...@apache.org on 2018/09/20 18:49:47 UTC

[flink] 02/03: [hotfix][docs] Regenerate docs to fix curl example for uploading jars.

This is an automated email from the ASF dual-hosted git repository.

gary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit ae5ce53cbcd443d8bf7fb278f393d0fa2e535685
Author: gyao <ga...@data-artisans.com>
AuthorDate: Thu Sep 20 15:48:56 2018 +0200

    [hotfix][docs] Regenerate docs to fix curl example for uploading jars.
---
 docs/_includes/generated/rest_v1_dispatcher.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/_includes/generated/rest_v1_dispatcher.html b/docs/_includes/generated/rest_v1_dispatcher.html
index ec6989b..6ee705e 100644
--- a/docs/_includes/generated/rest_v1_dispatcher.html
+++ b/docs/_includes/generated/rest_v1_dispatcher.html
@@ -178,7 +178,7 @@
     </tr>
     <tr>
       <td colspan="2">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.
-Using 'curl' you can upload a jar via 'curl -X POST -H "Expect:" -F "jarfile=#path/to/flink-job.jar" http://hostname:port/jars/upload'.</td>
+Using 'curl' you can upload a jar via 'curl -X POST -H "Expect:" -F "jarfile=@path/to/flink-job.jar" http://hostname:port/jars/upload'.</td>
     </tr>
     <tr>
       <td colspan="2">