#881 new addpseudodevice worker action

This commit is contained in:
Oliver Gorwits
2022-07-04 22:02:47 +01:00
parent 5ffa59c815
commit 07e8520bac
3 changed files with 76 additions and 1 deletions

View File

@@ -124,7 +124,7 @@ if (scalar @hostlist > 512) {
foreach my $host (@hostlist) {
my $dev = $host ? get_device($host->addr) : undef;
if ($dev and not (blessed $dev and $dev->in_storage) and $action !~ m/^discover/) {
if ($dev and not (blessed $dev and $dev->in_storage) and $action !~ m/^(?:discover|addpseudodevice)/) {
info sprintf "%s: error - Don't know device: %s", $action, $host->addr;
next;
}