Skip to content

Commit

Permalink
Fix method call
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Nov 1, 2023
1 parent f0ecb53 commit 04cb323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibreNMS/Poller.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function poll(): Result

$this->logger->info("Starting polling run:\n");

foreach ($this->whereDeviceSpec($this->device_spec)->pluck('device_id') as $device_id) {
foreach (Device::whereDeviceSpec($this->device_spec)->pluck('device_id') as $device_id) {
$results->markAttempted();
$this->initDevice($device_id);
PollingDevice::dispatch($this->device);
Expand Down

0 comments on commit 04cb323

Please sign in to comment.