Skip to content

Commit 4c04f06

Browse files
authored
Remove redundant comments in atlasLambdaClient.go
1 parent 3b5b28e commit 4c04f06

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cfn-resources/util/atlasLambdaClient.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,10 @@ func newAtlasV2ClientWithLambdaProxySupport(req *handler.Request, profileName *s
147147

148148
var client *http.Client
149149
if lambdaArn != nil && *lambdaArn != "" {
150-
// Chain the digest transport with the lambda forwarding transport
151150
log.Printf("Using chained digest transport with Lambda forwarding. Lambda ARN: %s", *lambdaArn)
152-
// Create the Lambda forwarding transport
153151
lambdaTransport := newLambdaForwardingTransport(req, *lambdaArn)
154-
// Create the digest transport
155152
digestTransport := digest.NewTransport(prof.PublicKey, prof.PrivateKey)
156-
// IMPORTANT: Set the underlying transport to our Lambda transport
153+
// Set the underlying transport to our Lambda transport
157154
digestTransport.Transport = lambdaTransport
158155
// Use the digest transport as the client transport
159156
client = &http.Client{Transport: digestTransport}

0 commit comments

Comments
 (0)