fix(hardware::server::hp::ilo::restapi): exclude enclosure CTOR-1798 (#5671)

This commit is contained in:
Stéphane Duret 2025-07-18 09:49:52 +02:00 committed by GitHub
parent 8a0270bdfd
commit 420edcf3c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,6 +36,7 @@ sub check {
my $instance = $chassis->{Id};
next if ($self->check_filter(section => 'chassis', instance => $instance));
next if ($chassis->{ChassisType} eq 'Enclosure');
$self->{components}->{chassis}->{total}++;
$self->{output}->output_add(