Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing invalid reference

  • Loading branch information...
commit fc3e50c78f6c37eee0dd84202fe2786e6597cfe6 1 parent b14194f
@andrerod andrerod authored
View
8 lib/services/core/servicemanagementsettings.js
@@ -66,7 +66,7 @@ function ServiceManagementSettings(subscriptionId, endpointUri, certificatePath)
*/
ServiceManagementSettings.createFromSettings = function (settings) {
var matchedSpecs = ServiceSettings.matchedSpecification(
- tokenizedSettings,
+ settings,
ServiceSettings.allRequired(
_subscriptionIdSetting,
_certificatePathSetting
@@ -79,18 +79,18 @@ ServiceManagementSettings.createFromSettings = function (settings) {
if (matchedSpecs) {
var endpointUri = util.tryGetValueInsensitive(
ConnectionStringKeys.SERVICE_MANAGEMENT_ENDPOINT_NAME,
- tokenizedSettings,
+ settings,
Constants.SERVICE_MANAGEMENT_URL
);
var subscriptionId = util.tryGetValueInsensitive(
ConnectionStringKeys.SUBSCRIPTION_ID_NAME,
- tokenizedSettings
+ settings
);
var certificatePath = util.tryGetValueInsensitive(
ConnectionStringKeys.CERTIFICATE_PATH_NAME,
- tokenizedSettings
+ settings
);
return new ServiceManagementSettings(
View
2  test/services/core/serviceclient-tests.js
@@ -30,6 +30,8 @@ suite('serviceclient-tests', function () {
normalizedError.should.be.an.instanceOf(Error);
normalizedError.should.have.keys('message', 'resultcode', 'somethingelse');
+
+ done();
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.