Refactor how repositories for the daemon work.
This commit is contained in:
parent
5f9fe4a69b
commit
d2afc29a80
58 changed files with 388 additions and 997 deletions
|
@ -128,7 +128,7 @@ class DetailsModificationService
|
|||
$this->repository->withoutFreshModel()->update($server->id, ['image' => $image]);
|
||||
|
||||
try {
|
||||
$this->daemonServerRepository->setNode($server->node_id)->setAccessServer($server->uuid)->update([
|
||||
$this->daemonServerRepository->setServer($server)->update([
|
||||
'build' => [
|
||||
'image' => $image,
|
||||
],
|
||||
|
|
Reference in a new issue