Skip to content

Commit

Permalink
Merge 1d63fae into 24485e6
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko authored Jul 1, 2024
2 parents 24485e6 + 1d63fae commit b4f5b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idmap/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func CleanBucket(bucketName string) {
c := b.Cursor()
for k, v := c.First(); k != nil; k, v = c.Next() {
// 检查键或值是否包含冒号
if bytes.Contains(k, []byte(":")) || bytes.Contains(v, []byte(":")) {
if bytes.Contains(k, []byte(":")) || bytes.Contains(v, []byte(":")) || bytes.Contains(k, []byte("row-")) {
continue // 忽略包含冒号的键值对
}

Expand Down

0 comments on commit b4f5b41

Please sign in to comment.