BUG-5507: ignore schema-related AutoAttach errors
authorStephen Kitt <skitt@redhat.com>
Mon, 14 Mar 2016 14:47:54 +0000 (15:47 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 14 Mar 2016 15:15:38 +0000 (15:15 +0000)
commit9c7b92bc9993b7004481d13195e1b6de018ef85b
tree117490b58289f026ee293caeeb53111f38219668
parentc044df1d09990bd3e17f32f0762b89b26e19ce39
BUG-5507: ignore schema-related AutoAttach errors

When initialising OvsdbAutoAttachedRemovedCommand and
OvsdbAutoAttachUpdateCommand, schemas without support for autoattach
cause IllegalArgumentException to be thrown. This is in all likelihood
the only scenario which can lead to this, so for now ignore the
exceptions.

A proper fix would involve checking the schema as done in TyperUtils.
Once this is done these constructors will be updated to use that
instead of ignoring IllegalArgumentException.

Change-Id: Idd284ab8acdc0886ef11dae6ecfb410e487ca312
Signed-off-by: Stephen Kitt <skitt@redhat.com>