krisztina-zsihovszki commented on code in PR #6832:
URL: https://github.com/apache/nifi/pull/6832#discussion_r1073738141
##########
nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/drive/FetchGoogleDrive.java:
##########
@@ -125,9 +145,17 @@ public void onTrigger(ProcessContext context,
ProcessSession session) throws Pro
String fileId =
context.getProperty(FILE_ID).evaluateAttributeExpressions(flowFile).getValue();
FlowFile outFlowFile = flowFile;
+ final long startNanos = System.nanoTime();
try {
outFlowFile = fetchFile(fileId, session, outFlowFile);
+ File fileMetadata = fetchFileMetadata(fileId);
Review Comment:
I am not aware of the reason why outFlowFile alias was introduced. It seems
to be unnecessary, I removed it.
--
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]