I noticed a panic if a configuration section contains an empty block after the all:, and fatal errors in other cases (shown in the test case). Ideally Snap will ignore empty configuration sections and process them as if no configuration was supplied. This PR logs a warning and moves on if empty configuration sections exist, rather than a crash or fatal error.
Here is the panic, taken from a recent build from the Intel Snap releases Github page:
I noticed a panic if a configuration section contains an empty block after the
all:
, and fatal errors in other cases (shown in the test case). Ideally Snap will ignore empty configuration sections and process them as if no configuration was supplied. This PR logs a warning and moves on if empty configuration sections exist, rather than a crash or fatal error.Here is the panic, taken from a recent build from the Intel Snap releases Github page: