diff --git a/lib/apiml.js b/lib/apiml.js index 6c02a188..85e87b73 100644 --- a/lib/apiml.js +++ b/lib/apiml.js @@ -175,7 +175,7 @@ ApimlConnector.prototype = { log.debug("ZWED0141I", 'https', this.port); //"Protocol:", proto, "Port", port); log.debug("ZWED0142I", JSON.stringify(protocolObject)); //"Protocol Object:", JSON.stringify(protocolObject)); - const instance = Object.assign({}, MEDIATION_LAYER_INSTANCE_DEFAULTS(proto, this.hostName, this.port)); + const instance = Object.assign({}, MEDIATION_LAYER_INSTANCE_DEFAULTS('https', this.hostName, this.port)); Object.assign(instance, overrides); Object.assign(instance, { instanceId: `${this.hostName}:zlux:${this.port}`,