torwig commented on code in PR #278:
URL:
https://github.com/apache/kvrocks-controller/pull/278#discussion_r2000654667
##########
store/engine/engine_inmemory.go:
##########
@@ -75,7 +75,7 @@ func (m *Mock) List(_ context.Context, prefix string)
([]Entry, error) {
m.mu.Lock()
defer m.mu.Unlock()
- exists := make(map[string]bool, 0)
+ exists := map[string]bool{}
Review Comment:
I have a few thoughts:
1. You didn't commit them.
2. You actively use an AI - I'm not against it but you should understand the
changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]