mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
34dfd63cdd
The raw bytes on the bundle object are only set if the bundle contains any policy or data. So while activating a bundle w/o policy or data in lazy mode we check if the raw bytes are set and generate an error if not. This check would prevent valid bundles from being activated if they contained no policy/data. Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>