fix(core): update

This commit is contained in:
2022-01-18 18:10:27 +01:00
parent 5886283002
commit 9a2cb56094
2 changed files with 19 additions and 2 deletions

View File

@ -14,9 +14,10 @@ export class CloudlyConnector {
}
public async announceDockerContainer(
optionsArg: plugins.tsclass.container.IContainer
optionsArg: plugins.tsclass.container.IContainer,
testCloudlyUrlArg?: string
) {
const cloudlyUrl = this.npmciRef.npmciConfig.getConfig().urlCloudly;
const cloudlyUrl = testCloudlyUrlArg || this.npmciRef.npmciConfig.getConfig().urlCloudly;
if (!cloudlyUrl) {
logger.log(
'warn',