Skip to main content

already_annotated

Function already_annotated 

Source
pub fn already_annotated(policy: &Value, datapath: PolicyDatapath) -> bool
Expand description

Whether the policy already carries the right verdict.

Keeps the controller idempotent: rewriting an unchanged annotation every tick advances the store revision forever, which is the hot-loop class the node lease already hit once in this codebase.