From c3c55c66eb3a08c3d5d05c081a861c063344b736 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Mon, 16 Jun 2014 08:57:00 -0700 Subject: [PATCH] Fix issue-15 --- lib/storage-service.js | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/storage-service.js b/lib/storage-service.js index 4a20b8d..1cc5978 100644 --- a/lib/storage-service.js +++ b/lib/storage-service.js @@ -64,7 +64,7 @@ StorageService.prototype.getContainers = function (cb) { StorageService.prototype.createContainer = function (options, cb) { options = options || {}; if ('object' === typeof options && !(options instanceof storage.Container)) { - var Container = factory.getProvider(this.provider).Container; + var Container = factory.getProvider(this.provider).storage.Container; options = new Container(this.client, options); } return this.client.createContainer(options, function (err, container) { diff --git a/package.json b/package.json index 388f48a..9f8188b 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,16 @@ "test": "./node_modules/.bin/mocha --timeout 30000 test/*test.js" }, "dependencies": { - "pkgcloud": "~0.9.4", - "async": "~0.2.10", + "pkgcloud": "~0.9.6", + "async": "~0.9.0", "formidable": "~1.0.14" }, "devDependencies": { "express": "~3.4.0", "loopback": "1.x.x", "mocha": "~1.18.2", - "supertest": "~0.10.0", - "mkdirp": "~0.3.5" + "supertest": "~0.13.0", + "mkdirp": "~0.5.0" }, "repository": { "type": "git",