🐛 Ignore checks w/o type

If we disabled some checks in the past, and their
providing plugins are currently disabled, we
will have checks configured that only consist
of a "disabled" key. That will cause a warning
to be logged as there's no type defined. So
we now simply ignore entries without a type
altogether.
This commit is contained in:
Gina Häußge committed 2021-11-10 16:08:13 +01:00
1 parent 8b3a51c1a0
commit 28ae00d9de
1 file changed
+3
@@ -1543,6 +1543,9 @@ class SoftwareUpdatePlugin(
if not check:
continue
if "type" not in check:
continue
try:
populated_check = self._populated_check(target, check)
future = executor.submit(