Skip to content

Commit

Permalink
endpoint / ApplyPolicyMapChanges: fix incorrect comment
Browse files Browse the repository at this point in the history
This comment incorrectly referenced some now-reverted behavior. Remove
this now so we don't confuse ourselves.

Signed-off-by: Casey Callendrello <[email protected]>
  • Loading branch information
squeed authored and aanm committed Apr 23, 2024
1 parent f9cea9c commit d1e774b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/endpoint/bpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ func (e *Endpoint) ApplyPolicyMapChanges(proxyWaitGroup *completion.WaitGroup) e
return err
}

// Only update Envoy if there are envoy redirects and there were queued incremental changes.
// Only update Envoy if there are envoy redirects.
// This is safe to do here, since a PolicyMapChange cannot
// cause an envoy redirect to appear or disappear. It only allows for
// incremental updates. Thus, we don't need to worry about stale
Expand Down

0 comments on commit d1e774b

Please sign in to comment.