mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-06 17:46:55 +00:00
fc5edde73c
debian_sysconfig_interface_keys fell back to querying the local dpkg when it was handed no version. The caller always passes one, so the fallback bought nothing -- and it made the "version could not be established" case answer differently depending on whether the machine running the code happened to have isc-dhcp-server installed. It passed on a developer's EL workstation and failed on the Ubuntu CI runner, which is the failure it was always going to produce. An undefined version now means what the caller means by it: could not be established, so write every spelling. Covered by a test that stubs the lookup to prove the answer no longer depends on the machine.