You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by zh...@apache.org on 2022/12/26 11:42:24 UTC

[rocketmq-connect] branch master updated: fix compile error

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

zhoubo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-connect.git


The following commit(s) were added to refs/heads/master by this push:
     new e6ccc1c5 fix compile error
e6ccc1c5 is described below

commit e6ccc1c5a57a18f48ad75bcc7f3ae52577cd33bd
Author: odbozhou <87...@qq.com>
AuthorDate: Mon Dec 26 19:42:00 2022 +0800

    fix compile error
---
 .../main/java/org/apache/rocketmq/connect/runtime/rest/RestHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/rest/RestHandler.java b/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/rest/RestHandler.java
index 5e75d845..b4f6c378 100644
--- a/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/rest/RestHandler.java
+++ b/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/rest/RestHandler.java
@@ -302,7 +302,7 @@ public class RestHandler {
         try {
             ConcurrentMap<String, WorkerConnector> workerConnectors = connectController.getWorker().getConnectors();
             Map<String, Map<String, String>> connectors = new HashMap<>();
-            for (Map.Entry<String,WorkerConnector> entry : workerConnectors.entrySet()) {
+            for (Map.Entry<String, WorkerConnector> entry : workerConnectors.entrySet()) {
                 connectors.put(entry.getKey(), entry.getValue().getKeyValue().getProperties());
             }
             context.json(new HttpResponse<>(context.status(), connectors));