fix(all): TRUE multicloud.
This commit is contained in:
parent
ba6e9c2767
commit
45eb9fab3c
1 changed files with 1 additions and 2 deletions
|
@ -292,7 +292,7 @@ export class GBVMService extends GBService {
|
||||||
|
|
||||||
connections.forEach(async con => {
|
connections.forEach(async con => {
|
||||||
|
|
||||||
const connectionName = con['storageDriver']
|
const connectionName = /^\S+/.exec(con['storageDriver'])[0];
|
||||||
|
|
||||||
const dialect = con['storageDriver'];
|
const dialect = con['storageDriver'];
|
||||||
const host = con['storageServer'];
|
const host = con['storageServer'];
|
||||||
|
@ -363,7 +363,6 @@ export class GBVMService extends GBService {
|
||||||
const connectionName = t.connection;
|
const connectionName = t.connection;
|
||||||
let con;
|
let con;
|
||||||
|
|
||||||
|
|
||||||
if (!con) {
|
if (!con) {
|
||||||
throw new Error(`Invalid connection specified: ${connectionName}.`);
|
throw new Error(`Invalid connection specified: ${connectionName}.`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue