Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 3171b08

Browse files
author
Wardormeur
committed
Remove test configuration to work with fakes3
1 parent 2f69697 commit 3171b08

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/update-image.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ function updateImage (args, done) {
1010
// TODO: Maybe should we open an "opened test" bucket, but that would be.. troublesome for security reasons & $$
1111
var s3client = cloud.storage.createClient({
1212
provider: 'amazon',
13+
/* Uncomment the following to make it work with fakes3
1314
protocol: 'http://',
1415
serversUrl: 's3:80',
1516
forcePathBucket: true,
16-
params: {
17-
Bucket: 'zen-dojo-images',
18-
},
17+
*/
1918
accessKeyId: process.env.AMAZON_BUCKET_ACCESSKEYID,
2019
accessKey: process.env.AMAZON_BUCKET_ACCESSKEY
2120
});

0 commit comments

Comments
 (0)