policy-engine/pkg
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
..
chain [#76] chain: Increase unit-test coverage for chain related types 2024-05-22 15:08:11 +03:00
engine [#86] engine: Simplify multiple chains processing 2024-08-19 09:37:38 +03:00
marshal [#1] chain: Add binary marshal/unmarshal 2024-01-24 11:04:03 +03:00
morph/policy [#62] morph: List morph rules chains by traversing iterator 2024-04-26 06:20:43 +00:00
resource [#7] engine: Set project structure pattern for files 2023-11-15 09:22:42 +00:00