added a check for the existence of the container before installing it

This commit is contained in:
vladimir.kuznetsov 2023-02-06 19:19:49 +03:00
parent 2fdab4c196
commit b2fd94d20e
4 changed files with 31 additions and 0 deletions

View file

@ -16,6 +16,7 @@ QString errorString(ErrorCode code){
case(ServerContainerMissingError): return QObject::tr("Server error: Docker container missing");
case(ServerDockerFailedError): return QObject::tr("Server error: Docker failed");
case(ServerCancelInstallation): return QObject::tr("Installation canceled by user");
case(ServerContainerAlreadyInstalledError): return QObject::tr("Container already installed");
// Ssh connection errors
case(SshSocketError): return QObject::tr("Ssh connection error");