From 4a57dd7ef4f7f36f56fa1e0e94624416d438c7c0 Mon Sep 17 00:00:00 2001 From: Rahul Padigela Date: Fri, 26 Aug 2016 11:20:29 -0700 Subject: [PATCH 1/2] BF: Move commander module to be prod. dependency Fix #170 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b4bb748996..e036d436ff 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.2.0", "babel-plugin-transform-es2015-parameters": "^6.2.0", "bucketclient": "scality/bucketclient", + "commander": "^2.9.0", "ioctl": "^2.0.0", "level": "^1.4.0", "level-sublevel": "^6.5.4", @@ -46,7 +47,6 @@ "devDependencies": { "babel-cli": "^6.2.0", "babel-eslint": "^6.0.0", - "commander": "^2.9.0", "eslint": "^2.4.0", "eslint-config-airbnb": "^6.0.0", "eslint-config-scality": "scality/Guidelines", From 1b8df642e169fda979e239d1db5aa5330a8c146c Mon Sep 17 00:00:00 2001 From: Nicolas Humbert Date: Fri, 26 Aug 2016 11:09:20 -0700 Subject: [PATCH 2/2] FIX: listPart -> pushMetricListMultipartUploadParts --- lib/routes/routeGET.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/routeGET.js b/lib/routes/routeGET.js index d0ae9f5ca6..0c2878972f 100644 --- a/lib/routes/routeGET.js +++ b/lib/routes/routeGET.js @@ -14,7 +14,7 @@ function _pushMetrics(err, utapi, action, resource, contentLength) { } else if (action === 'objectGetACL') { utapi.pushMetricGetObjectAcl(resource, timestamp); } else if (action === 'listParts') { - utapi.pushMetricListBucketMultipartUploads(resource, timestamp); + utapi.pushMetricListMultipartUploadParts(resource, timestamp); } else if (action === 'objectGet') { utapi.pushMetricGetObject(resource, timestamp, contentLength); }