use overloaded $device

This commit is contained in:
Oliver Gorwits
2017-09-13 10:53:12 +01:00
parent d5d39289d6
commit 753acc607f
14 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ register_worker({ stage => 'check' }, sub {
$port = ($port ? 1 : 0);
delete_device($device, $port, $extra);
return Status->done(sprintf "Deleted device %s.", $device->ip);
return Status->done("Deleted device: $device");
});
true;