ErrorCode for Docker version
This commit is contained in:
parent
516e3da7e2
commit
7a3834ef57
1 changed files with 2 additions and 0 deletions
|
|
@ -417,6 +417,8 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
|||
return ErrorCode::ServerPacketManagerError;
|
||||
if (stdOut.contains("command not found"))
|
||||
return ErrorCode::ServerDockerFailedError;
|
||||
if (stdOut.contains("Docker is not supported"))
|
||||
return ErrorCode::ServerDockerVersionError;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue