Skip to content

Commit

Permalink
Bypassing config object to support full knox opt
Browse files Browse the repository at this point in the history
  • Loading branch information
wangtao committed Oct 29, 2013
1 parent 333d18f commit 597baaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/storage/s3.js
Expand Up @@ -29,7 +29,7 @@ function S3Storage(config) {
this.config.baseDir = this.config.baseDir.substring(1);
}
DEBUG && debug('create s3 storage:', this.config);
this.s3Client = knox.createClient({key: this.config.key, secret: this.config.secret, bucket: this.config.bucket});
this.s3Client = knox.createClient(this.config);
}
util.inherits(S3Storage, storage.Storage);

Expand Down

0 comments on commit 597baaa

Please sign in to comment.