Compare commits
4 commits
shift-1309
...
develop
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bdc9c413e2 | ||
![]() |
2b16841702 | ||
![]() |
1d6390ddd6 | ||
![]() |
3eb3c7e746 |
2 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class ServerSuspensionService
|
|||
]);
|
||||
|
||||
try {
|
||||
$this->powerRepository->setServer($server)->send(PowerAction::KILL);
|
||||
$this->powerRepository->setServer($server)->send($isSuspending ? PowerAction::KILL : PowerAction::START);
|
||||
} catch (Exception $exception) {
|
||||
$server->update([
|
||||
'status' => $isSuspending ? null : Status::SUSPENDED->value,
|
||||
|
|
BIN
panel.tar.gz
BIN
panel.tar.gz
Binary file not shown.
Loading…
Add table
Reference in a new issue