]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/API2/Storage/Scan.pm
api: scan cifs: port over NT_STATUS filter from pve-manager
[pve-storage.git] / PVE / API2 / Storage / Scan.pm
index 0e6fd9a3117df12f56b6828040cf96e5db01e37c..44d6628ef53d5fb61187121a2cb8aaa6f705c8d2 100644 (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} };
        }