policy-engine/pkg/engine
Evgenii Stratonikov a11e80e2c7 [#86] engine: Simplify multiple chains processing
So, it's sunday evening and I am sitting on-call trying to debug strange
node behaviour. It took me 3 whole minutes to understand the code being
changed: it accumulates bools in slices, even though no slice is needed;
it uses subtle condition from the first loop to make decision in the
second one, and finally it uses named return values.

In this commit we remove the slice and the second loop, because why not.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-08-19 09:37:38 +03:00
..
inmemory [#75] chain: Refactor ObjectType type 2024-05-13 17:36:17 +03:00
chain_router.go [#86] engine: Simplify multiple chains processing 2024-08-19 09:37:38 +03:00
errors.go [#7] engine: Revise CachedChainStorage interface 2023-11-15 09:22:42 +00:00
interface.go [#64] engine: Add user and group targets 2024-04-12 16:07:34 +03:00