diff --git a/Products/ZenCollector/configcache/cli/stats.py b/Products/ZenCollector/configcache/cli/stats.py index 106057fd01..44be1aea36 100644 --- a/Products/ZenCollector/configcache/cli/stats.py +++ b/Products/ZenCollector/configcache/cli/stats.py @@ -206,6 +206,6 @@ def _make_statgroup(groupId, stats): def _get_device_predicate(devices, haswildcard): - if haswildcard: + if haswildcard or len(devices) == 0: return lambda x: True return lambda x: next((True for d in devices if x == d), False)