mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-7635 Reviewed By: CCR-3575 Testing Done: Tested failing ifquery output in json format This patch fixes a bug introduced by 0dea0cfeeec8b342ee2e2b767daa4071ac760f31 ("Add support to display status (pass, fail) in ifquery --check json output"). This patch separates the json encoders for iface objects with and without status (ifaceJsonEncoder and ifaceJsonEncoderWithStatus) so that they dont interfere with each other.
22 KiB
22 KiB