exceptionfactory commented on code in PR #7851:
URL: https://github.com/apache/nifi/pull/7851#discussion_r1350816553


##########
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java:
##########
@@ -155,33 +150,38 @@ public void onTrigger(final ProcessContext context, final 
ProcessSession session
             return;
         }
 
-        final AWSLambdaClient client = getClient(context);
+        final LambdaClient client = getClient(context);
 
         try {
             final ByteArrayOutputStream baos = new ByteArrayOutputStream();
             session.exportTo(flowFile, baos);

Review Comment:
   It looks like these lines can be removed since the `session.read()` method 
now populates the payload.
   ```suggestion
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to