Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipcache: Remove superfluous if condition
See #21667 (comment) for an in-depth discussion about this change. For local identities, this condition never evaluated to false, since identities are different for each prefix and thus no other prefix could have added a map entry for the previously allocated identity. A subsequent commit will cause InjectLabels to also allocate global identities. In that case, the condition is actively harmful, since it could cause an identity leak. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
- Loading branch information