mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Final adjustments to Daemon <-> Panel communication change
This commit is contained in:
@@ -104,10 +104,7 @@ class RebuildServerCommand extends Command
|
||||
];
|
||||
|
||||
try {
|
||||
$this->daemonRepository->setNode($server->node_id)
|
||||
->setAccessServer($server->uuid)
|
||||
->setAccessToken($server->node->daemonSecret)
|
||||
->update($json);
|
||||
$this->daemonRepository->setNode($server->node_id)->setAccessServer($server->uuid)->update($json);
|
||||
} catch (RequestException $exception) {
|
||||
$this->output->error(trans('command/messages.server.rebuild_failed', [
|
||||
'name' => $server->name,
|
||||
|
||||
Reference in New Issue
Block a user