You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2023/07/18 12:17:39 UTC

[incubator-streampark] branch dev updated: Modify CURLBuilder log (#2864)

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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0d5cee2a3 Modify CURLBuilder log (#2864)
0d5cee2a3 is described below

commit 0d5cee2a35de2a8806b106be023e13b3976dbcdb
Author: ChengJie1053 <18...@163.com>
AuthorDate: Tue Jul 18 20:17:33 2023 +0800

    Modify CURLBuilder log (#2864)
---
 .../src/main/scala/org/apache/streampark/common/util/CURLBuilder.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streampark-common/src/main/scala/org/apache/streampark/common/util/CURLBuilder.scala b/streampark-common/src/main/scala/org/apache/streampark/common/util/CURLBuilder.scala
index da4d7fd53..10c5b80ef 100644
--- a/streampark-common/src/main/scala/org/apache/streampark/common/util/CURLBuilder.scala
+++ b/streampark-common/src/main/scala/org/apache/streampark/common/util/CURLBuilder.scala
@@ -37,7 +37,7 @@ class CURLBuilder(val url: String) {
   }
 
   def build: String = {
-    require(url != null, "[StreamPark] cURL build failed, url must not be null")
+    require(url != null, "[StreamPark] CURL build failed, url must not be null")
     val cURL = new StringBuilder("curl -X POST ")
     cURL.append(String.format("'%s' \\\n", url))
     for (headerKey <- headers.keySet) {