Merge 8d2a4990e7 into b3b0fec2e1
This commit is contained in:
commit
534d77ea08
9 changed files with 78 additions and 13 deletions
|
|
@ -409,8 +409,12 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
|||
qDebug().noquote() << "ServerController::installDockerWorker" << stdOut;
|
||||
if (stdOut.contains("lock"))
|
||||
return ErrorCode::ServerPacketManagerError;
|
||||
if (stdOut.contains("command not found"))
|
||||
if (stdOut.contains("sudo:") && stdOut.contains("not found"))
|
||||
return ErrorCode::ServerDockerFailedError;
|
||||
if (stdOut.contains("Docker is not supported"))
|
||||
return ErrorCode::ServerDockerNotSupported;
|
||||
if (stdOut.contains("Failed docker status"))
|
||||
return ErrorCode::ServerDockerStatusNotActive;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue