Skip to content

Commit

Permalink
Simplifying code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Rodrigues committed Oct 14, 2012
1 parent 4090ee1 commit f62f063
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/services/serviceBus/servicebusservice.js
Expand Up @@ -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 = {
Expand Down

0 comments on commit f62f063

Please sign in to comment.