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:
@ -127,6 +127,7 @@ __PACKAGE__->register_method({
|
|||||||
|
|
||||||
my $data = [];
|
my $data = [];
|
||||||
foreach my $k (sort keys %$res) {
|
foreach my $k (sort keys %$res) {
|
||||||
|
next if $k =~ m/NT_STATUS_/;
|
||||||
push @$data, { share => $k, description => $res->{$k} };
|
push @$data, { share => $k, description => $res->{$k} };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user