Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplifying code.

  • Loading branch information...
commit f62f0633107f19fac0ee11df45e62d4bb1e68109 1 parent 4090ee1
@andrerod andrerod authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/services/serviceBus/servicebusservice.js
View
3  lib/services/serviceBus/servicebusservice.js
@@ -87,8 +87,7 @@ function ServiceBusService(namespaceOrConnectionString, accessKey, issuer, acsNa
var stsendpoint = url.format({ protocol: 'https:', port: 443, hostname: acsNamespace + '.' + ServiceClient.CLOUD_ACCESS_CONTROL_HOST });
if (host) {
- var parsedHost = ServiceClient._parseHost(host);
- endpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: parsedHost.hostname });
+ endpoint = url.format(ServiceClient._parseHost(host));
}
var settings = {
Please sign in to comment.
Something went wrong with that request. Please try again.