You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/04/11 06:29:34 UTC

[dubbo] branch 3.2 updated: Fix compile

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

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 463ec03e51 Fix compile
463ec03e51 is described below

commit 463ec03e510cb87577c2080ff3b4b7940c7ea42a
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Tue Apr 11 14:29:12 2023 +0800

    Fix compile
---
 .../src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java b/dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java
index c65c11b47a..8be7fbd9f2 100644
--- a/dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java
+++ b/dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java
@@ -70,7 +70,7 @@ public class GetAddress implements BaseCommand {
         }
 
         if (commandContext.isHttp()) {
-            return JsonUtils.getJson().toJson(jsonOutput);
+            return JsonUtils.toJson(jsonOutput);
         } else {
             return plainOutput.toString();
         }