Skip to content

Commit 61e2847

Browse files
robocanicCopilot
andauthored
simplify code
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ff432e4 commit 61e2847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/store/memory/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func (rs *resourceStore) PageListByIndexes(indexes map[string]string, pq coremod
186186
}
187187

188188
func (rs *resourceStore) getKeysByIndexes(indexes map[string]string) ([]string, error) {
189-
if indexes == nil || len(indexes) == 0 {
189+
if len(indexes) == 0 {
190190
return []string{}, nil
191191
}
192192
keySet := set.New[string]()

0 commit comments

Comments
 (0)