Revision b9098e6b25f97b4af51ebec3c24f5cf6ad48551f authored by Gilberto Bertin on 29 February 2024, 07:36:40 UTC, committed by Martynas Pumputis on 29 February 2024, 15:47:00 UTC
currently some functions in policy.h reference POLICY_MAP, assuming it's
always defined. This prevents including this header in a context where
the POLICY_MAP is not defined.

To overcome this, remove all the POLICY_MAP references from these
functions and always pass the map explicitly in the caller.

No functional changes are introduced.

Signed-off-by: Gilberto Bertin <jibi@cilium.io>
1 parent d7dba5e
History
File Mode Size
resolver
config.go -rw-r--r-- 160.6 KB
config_test.go -rw-r--r-- 31.8 KB
constants.go -rw-r--r-- 737 bytes
daemon.go -rw-r--r-- 1.2 KB
endpoint.go -rw-r--r-- 842 bytes
map_options.go -rw-r--r-- 1.8 KB
monitor.go -rw-r--r-- 3.9 KB
monitor_test.go -rw-r--r-- 2.4 KB
option.go -rw-r--r-- 11.3 KB
option_test.go -rw-r--r-- 9.4 KB
runtime_options.go -rw-r--r-- 2.5 KB

back to top