Merge pull request 'clan-cli select: fix returning early on list select' (#3464) from select-lists-fix into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3464
This commit is contained in:
@@ -459,7 +459,7 @@ class FlakeCacheEntry:
|
|||||||
result = []
|
result = []
|
||||||
for index in keys_to_select:
|
for index in keys_to_select:
|
||||||
result.append(self.value[index].select(selectors[1:]))
|
result.append(self.value[index].select(selectors[1:]))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
# otherwise return a dict
|
# otherwise return a dict
|
||||||
return {k: self.value[k].select(selectors[1:]) for k in keys_to_select}
|
return {k: self.value[k].select(selectors[1:]) for k in keys_to_select}
|
||||||
|
|||||||
Reference in New Issue
Block a user