Thu, Nov 03, 2016 at 04:20:42PM CET, olichtne(a)redhat.com wrote:
From: Ondrej Lichtner <olichtne(a)redhat.com>
If define was a top level element (not a valid recipe) LNST would crash
with a nonsensical error message. This fix skips removing the element
and parsing should then fail because of schema validation.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Reported-by: Jiri Pirko <jiri(a)mellanox.com>
Tested-by: Jiri Pirko <jiri(a)mellanox.com>