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

Duansg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new fcb5a9f08f bugfix Update delete dashboard response message to success 
(#4133)
fcb5a9f08f is described below

commit fcb5a9f08ffe2e12d4266b972491574becaeb0f2
Author: zhusaidong <[email protected]>
AuthorDate: Thu May 7 14:22:19 2026 +0800

    bugfix Update delete dashboard response message to success (#4133)
    
    Signed-off-by: zhusaidong <[email protected]>
    Co-authored-by: Duansg <[email protected]>
---
 .../org/apache/hertzbeat/grafana/controller/DashboardController.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hertzbeat-grafana/src/main/java/org/apache/hertzbeat/grafana/controller/DashboardController.java
 
b/hertzbeat-grafana/src/main/java/org/apache/hertzbeat/grafana/controller/DashboardController.java
index df72a30870..b81ed9dcd0 100644
--- 
a/hertzbeat-grafana/src/main/java/org/apache/hertzbeat/grafana/controller/DashboardController.java
+++ 
b/hertzbeat-grafana/src/main/java/org/apache/hertzbeat/grafana/controller/DashboardController.java
@@ -102,6 +102,6 @@ public class DashboardController {
             log.error("delete dashboard error", e);
             return ResponseEntity.ok(Message.fail(FAIL_CODE, "delete dashboard 
fail"));
         }
-        return ResponseEntity.ok(Message.fail(FAIL_CODE, "delete dashboard 
fail"));
+        return ResponseEntity.ok(Message.success("delete dashboard success"));
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to