应用删除
This commit is contained in:
parent
51b77bbd19
commit
16f1e27f34
@ -42,8 +42,8 @@ public function handle()
|
|||||||
$response = $http->get('hosts/' . $host->id);
|
$response = $http->get('hosts/' . $host->id);
|
||||||
|
|
||||||
if ($response->status() === 404) {
|
if ($response->status() === 404) {
|
||||||
Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除');
|
// Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除');
|
||||||
// dispatch(new \App\Jobs\Remote\Host($host, 'delete'));
|
dispatch(new \App\Jobs\Remote\Host($host, 'delete'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user