Ensure server is not in a conflicting state before initiating a transfer (#4403)
This commit is contained in:
parent
ff37c51eef
commit
815e1e4c4d
2 changed files with 19 additions and 0 deletions
|
@ -97,6 +97,8 @@ class ServerTransferController extends Controller
|
|||
// Check if the selected daemon is online.
|
||||
$this->daemonConfigurationRepository->setNode($node)->getSystemInformation();
|
||||
|
||||
$server->validateTransferState();
|
||||
|
||||
// Create a new ServerTransfer entry.
|
||||
$transfer = new ServerTransfer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue