Commit e19f81b9 authored by Andrea Sgambelluri's avatar Andrea Sgambelluri
Browse files

service: skip devices without an optical configuration when deconfiguring too

The deconfigure paths tested only that SelectOpticalConfig returned a
result, not that it carried a configuration, so deleting a service that
crossed an emulated device raised "Expecting value: line 1 column 1"
and left the remaining devices on the path untouched. Mirrors the guard
already applied to the configure paths.

Relates to #316
parent c755a3d6
Loading
Loading
Loading