Werk #8628: printer_alerts: Fix discovery when there are no alerts

KomponenteChecks & Agents
Titelprinter_alerts: Fix discovery when there are no alerts
Datum2017-03-27 14:52:35
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0b5,1.5.0i1,1.2.8p20
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

Previously, the discovery would only work, when the device listed some alerts, but not in the (hopefully more common) case that the list of alerts was empty. This has been fixed.

Thanks to Andreas Döhler for the patch!