api: scan cifs: port over NT_STATUS filter from pve-manager

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-12-01 18:08:58 +01:00
parent 2892b6739d
commit e65abdb458

View File

@ -127,6 +127,7 @@ __PACKAGE__->register_method({
my $data = [];
foreach my $k (sort keys %$res) {
next if $k =~ m/NT_STATUS_/;
push @$data, { share => $k, description => $res->{$k} };
}