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 2022/12/21 15:15:18 UTC

[dubbo-test-tools] branch main updated: Change environment variable name since the original one is illegal. (#7)

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

albumenj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-test-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new c9c2974  Change environment variable name since the original one is illegal. (#7)
c9c2974 is described below

commit c9c2974a06430121337ce010bee6f7522bee969f
Author: Andy Cheung <wi...@163.com>
AuthorDate: Wed Dec 21 23:15:13 2022 +0800

    Change environment variable name since the original one is illegal. (#7)
---
 .../org/apache/dubbo/errorcode/config/ErrorCodeInspectorConfig.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-error-code-inspector/src/main/java/org/apache/dubbo/errorcode/config/ErrorCodeInspectorConfig.java b/dubbo-error-code-inspector/src/main/java/org/apache/dubbo/errorcode/config/ErrorCodeInspectorConfig.java
index 87837ed..04dd7d1 100644
--- a/dubbo-error-code-inspector/src/main/java/org/apache/dubbo/errorcode/config/ErrorCodeInspectorConfig.java
+++ b/dubbo-error-code-inspector/src/main/java/org/apache/dubbo/errorcode/config/ErrorCodeInspectorConfig.java
@@ -38,7 +38,7 @@ public class ErrorCodeInspectorConfig {
 
     public static final boolean REPORT_AS_ERROR =
             Boolean.getBoolean("dubbo.eci.report-as-error") ||
-            Boolean.parseBoolean(System.getenv("dubbo.eci.report-as-error"));
+            Boolean.parseBoolean(System.getenv("DUBBO_ECI_REPORT_AS_ERROR"));
 
     public static final List<Reporter> REPORTERS = loadReporters();