fix: refs #5483 run realm param code fix

This commit is contained in:
Juan Ferrer 2024-01-28 12:46:56 +01:00
parent 2daf409f82
commit d1bb74d84b
2 changed files with 4 additions and 2 deletions

View File

@ -126,7 +126,9 @@ class Run extends Command {
});
if (opts.ci) {
dbConfig.host = netSettings.Networks[networkName].IPAddress;
dbConfig.host = network
? netSettings.Networks[network].IPAddress
: netSettings.Gateway;
dbConfig.port = 3306;
} else
dbConfig.port = netSettings.Ports['3306/tcp'][0].HostPort;

View File

@ -1,6 +1,6 @@
{
"name": "@verdnatura/myt",
"version": "1.5.32",
"version": "1.5.33",
"author": "Verdnatura Levante SL",
"description": "MySQL version control",
"license": "GPL-3.0",