From 094ba3bfbaced59cb1fd4108f6d042ab2641ef0f Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Fri, 1 Mar 2019 09:45:54 +0800 Subject: [PATCH] Carry appName in FetchClusterServerInfo command Signed-off-by: Eric Zhao --- .../command/handler/FetchClusterServerInfoCommandHandler.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/server/command/handler/FetchClusterServerInfoCommandHandler.java b/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/server/command/handler/FetchClusterServerInfoCommandHandler.java index d5ae01b9..d2ed63af 100644 --- a/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/server/command/handler/FetchClusterServerInfoCommandHandler.java +++ b/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/server/command/handler/FetchClusterServerInfoCommandHandler.java @@ -27,6 +27,7 @@ import com.alibaba.csp.sentinel.command.CommandHandler; import com.alibaba.csp.sentinel.command.CommandRequest; import com.alibaba.csp.sentinel.command.CommandResponse; import com.alibaba.csp.sentinel.command.annotation.CommandMapping; +import com.alibaba.csp.sentinel.util.AppNameUtil; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; @@ -69,6 +70,9 @@ public class FetchClusterServerInfoCommandHandler implements CommandHandler