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

rickyma pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new 995f0ca8e [#1895] fix(dashboard): Correct dashboard start failed issue 
(#1896)
995f0ca8e is described below

commit 995f0ca8e46f97272aeda2218279026dadfdd174
Author: maobaolong <baoloong...@tencent.com>
AuthorDate: Fri Jul 12 15:19:43 2024 +0800

    [#1895] fix(dashboard): Correct dashboard start failed issue (#1896)
    
    ### What changes were proposed in this pull request?
    
    Fix the bug causing the dashboard to fail to launch.
    
    ### Why are the changes needed?
    
    Fix: #1895
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually.
---
 .../java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dashboard/src/main/java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java
 
b/dashboard/src/main/java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java
index fe3f8109f..64fab2eaf 100644
--- 
a/dashboard/src/main/java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java
+++ 
b/dashboard/src/main/java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java
@@ -36,7 +36,7 @@ public class WebProxyServlet extends ProxyServlet {
 
   public WebProxyServlet(Map<String, String> coordinatorServerAddressesMap) {
     Preconditions.checkArgument(
-        coordinatorServerAddressesMap.isEmpty(), "No coordinator server 
address found.");
+        !coordinatorServerAddressesMap.isEmpty(), "No coordinator server 
address found.");
     this.coordinatorServerAddressesMap = coordinatorServerAddressesMap;
   }
 

Reply via email to