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

xuehuilang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-client-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new effef6f  fix event type. (#6)
effef6f is described below

commit effef6f980fcc9be1ee5ab2bd013385c92e690b2
Author: DamonXue <damonx...@gmail.com>
AuthorDate: Mon Oct 21 14:22:48 2024 +0800

    fix event type. (#6)
---
 shenyu-client-rust/src/core.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shenyu-client-rust/src/core.rs b/shenyu-client-rust/src/core.rs
index 927920a..836243a 100644
--- a/shenyu-client-rust/src/core.rs
+++ b/shenyu-client-rust/src/core.rs
@@ -402,7 +402,7 @@ impl ShenyuClient {
             "host": host.clone().unwrap(),
             "port": port,
             "namespaceId": namespace_id,
-            "eventType": EventType::REGISTER.to_string(),
+            "eventType": EventType::OFFLINE.to_string(),
         });
 
         // Broadcast offline to all shenyu admin.

Reply via email to