ChrisSamo632 commented on code in PR #6012:
URL: https://github.com/apache/nifi/pull/6012#discussion_r864975618


##########
nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/provider/flow/git/GitFlowMetaData.java:
##########
@@ -522,7 +524,8 @@ void commit(String author, String message, Bucket bucket, 
Flow.FlowPointer flowP
 
     byte[] getContent(String objectId) throws IOException {
         final ObjectId flowSnapshotObjectId = gitRepo.resolve(objectId);
-        return gitRepo.newObjectReader().open(flowSnapshotObjectId).getBytes();
+        ObjectStream objStream = 
gitRepo.newObjectReader().open(flowSnapshotObjectId).openStream();

Review Comment:
   Correct, I'm happy that this comment has been addressed, however I've not 
yet (had time to) completed a full review - ideally I'd like to build this 
locally from your branch and try the export/import with a large file



-- 
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