Skip to content

Commit ee63005

Browse files
committed
Cosmetic changes: spaces and comments
Signed-off-by: Elijah Zupancic <[email protected]>
1 parent f26f08d commit ee63005

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/etc/nginx/include/awscredentials.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const maxValidityOffsetMs = 4.5 * 60 * 1000;
5353

5454

5555
/**
56-
* Get the current session token from either the instance profile credential
56+
* Get the current session token from either the instance profile credential
5757
* cache or environment variables.
5858
*
5959
* @param r {Request} HTTP request object (not used, but required for NGINX configuration)
@@ -208,7 +208,7 @@ function _writeCredentialsToFile(credentials) {
208208

209209
/**
210210
* Get the credentials needed to create AWS signatures in order to authenticate
211-
* to AWS service. If the gateway is being provided credentials via a instance
211+
* to AWS service. If the gateway is being provided credentials via an instance
212212
* profile credential as provided over the metadata endpoint, this function will:
213213
* 1. Try to read the credentials from cache
214214
* 2. Determine if the credentials are stale
@@ -258,7 +258,7 @@ async function fetchCredentials(r) {
258258

259259
if (utils.areAllEnvVarsSet('AWS_CONTAINER_CREDENTIALS_RELATIVE_URI')) {
260260
const relative_uri = process.env['AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'] || '';
261-
const uri = ECS_CREDENTIAL_BASE_URI + relative_uri;
261+
const uri = ECS_CREDENTIAL_BASE_URI + relative_uri;
262262
try {
263263
credentials = await _fetchEcsRoleCredentials(uri);
264264
} catch (e) {
@@ -420,7 +420,7 @@ async function _fetchWebIdentityCredentials(r) {
420420
}
421421

422422
/**
423-
* Get the current timestamp. This timestamp will be used across functions in
423+
* Get the current timestamp. This timestamp will be used across functions in
424424
* order for there to be no variations in signatures.
425425
*
426426
* @returns {Date} The current moment as a timestamp

0 commit comments

Comments
 (0)