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:46 UTC

[flink] 01/03: [hotfix][doc] Fix curl example in upload jar example

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 b3faf4c4631e141e94a98af6c4753d833254b5fb
Author: Sayat Satybaldiyev <sa...@gmail.com>
AuthorDate: Mon Sep 17 21:22:47 2018 +0200

    [hotfix][doc] Fix curl example in upload jar example
    
    This closes #6706.
---
 .../org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
index d969b4fc..8b57359 100644
--- a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
+++ b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
@@ -73,7 +73,7 @@ public final class JarUploadHeaders implements MessageHeaders<EmptyRequestBody,
 	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\" http://hostname:port" + URL + "'.";
+			"Using 'curl' you can upload a jar via 'curl -X POST -H \"Expect:\" -F \"jarfile=@path/to/flink-job.jar\" http://hostname:port" + URL + "'.";
 	}
 
 	@Override