From 548f86b0da643d99fc19fd1a629b07536c133bfc Mon Sep 17 00:00:00 2001 From: Odboy Date: Fri, 14 Aug 2026 21:07:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Rust=20=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=85=8D=E7=BD=AE=E6=97=A5=E5=BF=97=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E5=85=B7=E4=BD=93=20key=20=E5=88=97=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=20Rust=20=E5=BE=85=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_DOCKERFILE.md | 2 +- kenaito-conf-rust-client/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README_DOCKERFILE.md b/README_DOCKERFILE.md index ad50b6e..66505f8 100644 --- a/README_DOCKERFILE.md +++ b/README_DOCKERFILE.md @@ -181,7 +181,7 @@ docker run -it --rm \ docker run -it --rm -e KENAITO_BASE_URL=http://host.docker.internal:8080 -e KENAITO_APP_NAME=kenaito-springboot-demo -e KENAITO_ENV=daily kenaito-conf-cpp-demo ``` -## Rust 客户端(待测试) +## Rust 客户端 ```bash docker build -f Dockerfile.rust -t kenaito-conf-rust-demo . diff --git a/kenaito-conf-rust-client/src/lib.rs b/kenaito-conf-rust-client/src/lib.rs index 34a00c0..60448de 100644 --- a/kenaito-conf-rust-client/src/lib.rs +++ b/kenaito-conf-rust-client/src/lib.rs @@ -265,7 +265,7 @@ impl Client { for key in &deleted_keys { configs.remove(*key); } - eprintln!("[ConfigClient] {} configs deleted", deleted_keys.len()); + eprintln!("[ConfigClient] {} configs deleted: {}", deleted_keys.len(), deleted_keys.join(", ")); } }