mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
SYNC: try to fix e2e test
This commit is contained in:
committed by
Diflow
parent
43ffbda1a4
commit
4bd9cc51ee
@@ -4,7 +4,6 @@ const { getSshTunnelProxy } = require('./sshTunnelProxy');
|
||||
const platformInfo = require('../utility/platformInfo');
|
||||
const connections = require('../controllers/connections');
|
||||
const _ = require('lodash');
|
||||
const { getCloudFolderEncryptor } = require('./cloudIntf');
|
||||
|
||||
async function loadConnection(driver, storedConnection, connectionMode) {
|
||||
const { allowShellConnection, allowConnectionFromEnvVariables } = platformInfo;
|
||||
@@ -90,6 +89,8 @@ async function extractConnectionSslParams(connection) {
|
||||
}
|
||||
|
||||
async function decryptCloudConnection(connection) {
|
||||
const { getCloudFolderEncryptor } = require('./cloudIntf');
|
||||
|
||||
const m = connection?._id?.match(/^cloud\:\/\/(.+)\/(.+)$/);
|
||||
if (!m) {
|
||||
throw new Error('Invalid cloud connection ID format');
|
||||
|
||||
Reference in New Issue
Block a user