removed setPassphraseCallback() function from ServerController and libssh::Client

This commit is contained in:
vladimir.kuznetsov 2023-04-04 13:32:37 +03:00
parent a005ed2a84
commit f8ef69b88a
5 changed files with 12 additions and 23 deletions

View file

@ -55,8 +55,7 @@ public:
void setCancelInstallation(const bool cancel);
void setPassphraseCallback(const std::function<QString()> &callback);
ErrorCode getDecryptedPrivateKey(const ServerCredentials &credentials, QString &decryptedPrivateKey);
ErrorCode getDecryptedPrivateKey(const ServerCredentials &credentials, QString &decryptedPrivateKey, const std::function<QString()> &callback);
private:
ErrorCode installDockerWorker(const ServerCredentials &credentials, DockerContainer container);
ErrorCode prepareHostWorker(const ServerCredentials &credentials, DockerContainer container, const QJsonObject &config = QJsonObject());