Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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();
});
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -8,8 +8,7 @@
},
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/IBM-Bluemix/skipper-openstack.git"
"type": "git"
},
"keywords": [
"openstack-swift",
Expand All @@ -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"
}