Added handling to serverController
Added "Docker is not supported" handling to serverController
This commit is contained in:
parent
e2ca10d339
commit
5dd644fd58
1 changed files with 2 additions and 0 deletions
|
|
@ -409,6 +409,8 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
||||||
qDebug().noquote() << "ServerController::installDockerWorker" << stdOut;
|
qDebug().noquote() << "ServerController::installDockerWorker" << stdOut;
|
||||||
if (stdOut.contains("lock"))
|
if (stdOut.contains("lock"))
|
||||||
return ErrorCode::ServerPacketManagerError;
|
return ErrorCode::ServerPacketManagerError;
|
||||||
|
if (stdOut.contains("Docker is not supported"))
|
||||||
|
return ErrorCode::ServerDockerNotSupported;
|
||||||
if (stdOut.contains("command not found"))
|
if (stdOut.contains("command not found"))
|
||||||
return ErrorCode::ServerDockerFailedError;
|
return ErrorCode::ServerDockerFailedError;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue