mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
d613b87e99
Move the check for "emptiness" before validation and injection of defaults, as there isn't a whole lot we can do with a logging plugin that doesn't actually log anything. Rather than error though, just return nil to skip initialization of the plugin. Fixes #4291 Signed-off-by: Anders Eknert <anders@eknert.com>