if the container already exists, then add it to the list of containers in the client
This commit is contained in:
parent
b2fd94d20e
commit
b5778a9cb5
2 changed files with 3 additions and 3 deletions
|
|
@ -337,7 +337,7 @@ void UiLogic::installServer(QMap<DockerContainer, QJsonObject> &containers)
|
|||
m_serverController->disconnectFromHost(installCredentials);
|
||||
}
|
||||
|
||||
if (error == ErrorCode::NoError) {
|
||||
if (error == ErrorCode::NoError || error == ErrorCode::ServerContainerAlreadyInstalledError) {
|
||||
QJsonObject server;
|
||||
server.insert(config_key::hostName, installCredentials.hostName);
|
||||
server.insert(config_key::userName, installCredentials.userName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue