diff --git a/index.js b/index.js index 821a1e8..d7def8a 100644 --- a/index.js +++ b/index.js @@ -45,10 +45,10 @@ module.exports = function SwiftStore(globalOpts) { receiver._write = function onFile(__newFile, encoding, done) { var client = getClient(options.credentials); - console.log("Uploading file with name", __newFile.filename); + console.log("Uploading file with name", __newFile.fd); __newFile.pipe(client.upload({ container: options.container, - remote: __newFile.filename + remote: __newFile.fd }, function(err, value) { console.log(err); console.log(value); @@ -61,7 +61,7 @@ module.exports = function SwiftStore(globalOpts) { })); __newFile.on("end", function(err, value) { - console.log("finished uploading", __newFile.filename); + console.log("finished uploading", __newFile.fd); receiver.emit('finish', err, value ); done(); }); diff --git a/package.json b/package.json index 54ba75e..cfd3834 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "skipper-openstack", + "name": "skipper-openstack-gremi", "version": "0.0.1", "dependencies": { "pkgcloud": "git+https://github.com/IBM-Bluemix/pkgcloud.git#fix-openstack-auth", @@ -8,8 +8,7 @@ }, "main": "index.js", "repository": { - "type": "git", - "url": "https://github.com/IBM-Bluemix/skipper-openstack.git" + "type": "git" }, "keywords": [ "openstack-swift", @@ -24,13 +23,13 @@ ], "author": [ { - "name": "Jeff Sloyer", - "email": "jbsloyer@us.ibm.com" + "name": "Thalles Gremi", + "email": "thallesgremi@gmail.com" } ], "license": "Apache License V2", "bugs": { - "url": "https://github.com/IBM-Bluemix/skipper-openstack/issues" + "url": "https://github.com/tgremi/skipper-openstack/issues" }, - "homepage": "https://github.com/IBM-Bluemix/skipper-openstack" + "homepage": "https://github.com/tgremi/skipper-openstack" }