Skip to content

Commit 1643c09

Browse files
committed
remove unused ELB env var, remove useless console.logs
1 parent 5bf8aba commit 1643c09

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

.env.development

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ PERSISTENCE=1
179179
SKIP_SSL_CERT_DOWNLOAD=1
180180
# custom domain ACM, ELBv2
181181
LOCALSTACK_ENDPOINT=http://aws:4566
182-
ELB_NAME=sndev-lb
183182
ELB_LISTENER_ARN=arn:aws:elasticloadbalancing:us-east-1:123456789012:listener/app/sndev-lb/1234567890abcdef/1234567890abcdef
184183

185184
# tor proxy

api/acm/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,5 @@ export async function getCertificateStatus (certificateArn) {
4040
export async function deleteCertificate (certificateArn) {
4141
const acm = new AWS.ACM(config)
4242
const result = await acm.deleteCertificate({ CertificateArn: certificateArn }).promise()
43-
console.log(`delete certificate attempt for ${certificateArn}, result: ${JSON.stringify(result)}`)
4443
return result
4544
}

api/elb/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ async function attachCertificateToElb (certificateArn) {
2020
Certificates: [{ CertificateArn: certificateArn }]
2121
}).promise()
2222

23-
console.log('[elbv2] Certificate', certificateArn, 'attached to listener', ELB_LISTENER_ARN)
2423
return true
2524
}
2625

@@ -37,7 +36,6 @@ async function detachCertificateFromElb (certificateArn) {
3736
Certificates: [{ CertificateArn: certificateArn }]
3837
}).promise()
3938

40-
console.log('[elbv2] Certificate', certificateArn, 'detached from listener', ELB_LISTENER_ARN)
4139
return true
4240
}
4341

0 commit comments

Comments
 (0)