Replace calls to server patch with a manual sync method

This commit is contained in:
Dane Everitt 2021-08-29 13:32:55 -07:00
parent d8d1eacb42
commit 2d47f986ee
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 8 additions and 29 deletions

View file

@ -91,9 +91,7 @@ class BuildModificationService
// if it fails we can just continue on as normal.
if (!empty($updateData['build'])) {
try {
$this->daemonServerRepository->setServer($server)->update([
'build' => $updateData['build'],
]);
$this->daemonServerRepository->setServer($server)->sync();
} catch (DaemonConnectionException $exception) {
Log::warning($exception, ['server_id' => $server->id]);
}