Skip to content

Commit

Permalink
incomplete node 5.x support work
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Jun 22, 2016
1 parent caffb09 commit 3cea4e8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,8 @@ MantaClient.prototype.chattr = function chattr(p, opts, cb) {

options.path += '?metadata=true';

log.level('trace'); // XXX

log.debug(options, 'chattr: entered');
self.signRequest({
headers: options.headers
Expand Down
2 changes: 1 addition & 1 deletion lib/jobshare.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function jStageRender(j, cb)

params['manta_url'] = process.env['MANTA_URL'];

converter = new showdown.converter();
converter = new showdown.Converter();
if (j.j_data.hasOwnProperty('readme'))
params['readme'] = converter.makeHtml(j.j_data['readme']['contents']);

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"assert-plus": "0.1.5",
"backoff": "2.3.0",
"bunyan": "0.22.1",
"bunyan": "1.6.0",
"clone": "0.1.11",
"cmdln": "1.3.1",
"dashdash": "1.3.2",
Expand All @@ -31,13 +31,13 @@
"path-platform": "0.0.1",
"progbar": "1.0.0",
"readable-stream": "1.1.9",
"restify": "2.8.1",
"showdown": "0.3.1",
"restify": "4.0.4",
"showdown": "1.3.0",
"smartdc-auth": "2.4.1",
"tar": "0.1.18",
"tar": "2.2.1",
"vasync": "1.4.0",
"verror": "1.3.6",
"watershed": "0.3.0"
"watershed": "0.3.1"
},
"devDependencies": {
"nodeunit": "0.9.0"
Expand Down
1 change: 1 addition & 0 deletions test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ test('chattr', function (t) {
}

self.client.chattr(CHILD1, opts, function onChattr(err1) {
console.log('XXX err1', err1);
t.ifError(err1);

self.client.info(CHILD1, function onInfo(err2, info2) {
Expand Down

0 comments on commit 3cea4e8

Please sign in to comment.