mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 00:23:19 +00:00
pve5to6: add total count in summary
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1c6ac415c4
commit
bc91ccac99
@ -414,6 +414,11 @@ __PACKAGE__->register_method ({
|
|||||||
check_misc();
|
check_misc();
|
||||||
|
|
||||||
print_header("SUMMARY");
|
print_header("SUMMARY");
|
||||||
|
|
||||||
|
my $total = 0;
|
||||||
|
$total += $_ for values %$counters;
|
||||||
|
|
||||||
|
print "TOTAL: $total\n";
|
||||||
print colored("PASSED: $counters->{pass}\n", 'green');
|
print colored("PASSED: $counters->{pass}\n", 'green');
|
||||||
print "SKIPPED: $counters->{skip}\n";
|
print "SKIPPED: $counters->{skip}\n";
|
||||||
print colored("WARNINGS: $counters->{warn}\n", 'yellow');
|
print colored("WARNINGS: $counters->{warn}\n", 'yellow');
|
||||||
|
Loading…
Reference in New Issue
Block a user