mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 03:43:45 +02:00
Remove unnecessary API calls to daemon
This commit is contained in:
@@ -107,9 +107,10 @@ class BuildModificationService
|
||||
$updateData = $this->structureService->handle($server);
|
||||
|
||||
try {
|
||||
$this->daemonServerRepository->setServer($server)->update(
|
||||
Arr::only($updateData, ['allocations', 'build', 'container'])
|
||||
);
|
||||
$this->daemonServerRepository
|
||||
->setServer($server)
|
||||
->update(Arr::only($updateData, ['build']));
|
||||
|
||||
$this->connection->commit();
|
||||
} catch (RequestException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
|
||||
Reference in New Issue
Block a user