Skip to content

Commit 324d7f6

Browse files
committed
Change AWS SDK require name to conform to the rest of hte code
Signed-off-by: Ben <[email protected]>
1 parent 39e53c9 commit 324d7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdk/namespace_gcp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const s3_utils = require('../endpoint/s3/s3_utils');
1111
const S3Error = require('../endpoint/s3/s3_errors').S3Error;
1212
// we use this wrapper to set a custom user agent
1313
const GoogleCloudStorage = require('../util/google_storage_wrap');
14-
const aws_sdk = require('aws-sdk');
14+
const AWS = require('aws-sdk');
1515

1616
/**
1717
* @implements {nb.Namespace}
@@ -53,7 +53,7 @@ class NamespaceGCP {
5353
this.hmac_key = res[0];
5454
this.hmac_secret = res[1];
5555
});
56-
this.s3_client = new aws_sdk.S3({
56+
this.s3_client = new AWS.S3({
5757
endpoint: 'https://storage.googleapis.com',
5858
accessKeyId: this.hmac_key,
5959
secretAccessKey: this.hmac_secret

0 commit comments

Comments
 (0)