From 821cb0897794a9f4e5546d63e0d07d74b616e35e Mon Sep 17 00:00:00 2001 From: SanaeFox <36219542+Hoshinonyaruko@users.noreply.github.com> Date: Sat, 29 Jun 2024 21:43:20 +0800 Subject: [PATCH] Update service.go --- idmap/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idmap/service.go b/idmap/service.go index fd6a2bb0..090b9382 100644 --- a/idmap/service.go +++ b/idmap/service.go @@ -122,7 +122,7 @@ func CleanBucket(bucketName string) { } // 检查值id的长度 - id := string(v) + id := string(k) if len(id) != 32 { if err := c.Delete(); err != nil { return err