diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-05-13 20:32:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-05-13 20:32:44 +0200 |
commit | 616907aa2e82709538cb67bfda1fb2444793cbeb (patch) | |
tree | 093b5399b18e77b93b7a3b4f0a83f5a359509836 | |
parent | 946f94e5c27d2b066243ad80579228fad34e1b17 (diff) |
Fix -lh not showing serviceless hosts (closes #14)
-rw-r--r-- | Changelog | 3 | ||||
-rwxr-xr-x | bin/icli | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,8 @@ git HEAD * Do not throw warnings when encountering empty contact groups * Do not require --recheck when using --force-recheck * Support --force-recheck with a host-only argument to immediately recheck - all services on a host + all services on a host (closses #15) + * Fix -lh not showing serviceless hosts (closes #14) icli 0.46 - Sun Sep 29 2013 @@ -993,7 +993,7 @@ foreach my $group (@for_groups) { } if ( @list_hosts == 0 ) { - @list_hosts = sort keys %{ $data->{services} }; + @list_hosts = sort keys %{ $data->{hosts} }; } if (@list_services) { |