Permalink
Browse files

Fix issue with hostname

  • Loading branch information...
Andre Rodrigues
Andre Rodrigues committed Oct 12, 2012
1 parent 865bcc4 commit 1b97f318ad8c5999fac3528a7080f461c8df528c
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/services/core/storageserviceclient.js
@@ -97,9 +97,9 @@ StorageServiceClient.getStorageSettings = function (storageAccountOrConnectionSt
if (host) {
var parsedHost = ServiceClient._parseHost(host);
- blobendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.host });
- tableendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.host });
- queueendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.host });
+ blobendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.hostname });
+ tableendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.hostname });
+ queueendpoint = url.format({ protocol: parsedHost.protocol, port: parsedHost.port, hostname: storageAccountOrConnectionString + '.' + parsedHost.hostname });
}
var settings = {

0 comments on commit 1b97f31

Please sign in to comment.