When i.e. deleting a network policy that is not managed by Karydia, the logs will print out an error message as Karydia tries to find the examined network policy within the buffer. However, the buffer only contains network policies managed by Karydia.
Thus, I changed the updateBuffer section to update the buffer according the karydia-default-network-policies instead of the examined network policy.
Resolves #244.
Checklist
Before submitting this PR, please make sure:
[x] your code builds clean with make
[x] your code lets succeed unit tests with make test
Description
When i.e. deleting a network policy that is not managed by Karydia, the logs will print out an error message as Karydia tries to find the examined network policy within the buffer. However, the buffer only contains network policies managed by Karydia.
Thus, I changed the
updateBuffer
section to update the buffer according the karydia-default-network-policies instead of the examined network policy.Resolves #244.
Checklist
Before submitting this PR, please make sure:
make
make test