malthe commented on code in PR #6443:
URL: https://github.com/apache/nifi/pull/6443#discussion_r1002231318


##########
nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/java/org/apache/nifi/processors/azure/storage/PutAzureBlobStorage_v12.java:
##########
@@ -121,18 +146,47 @@ public void onTrigger(final ProcessContext context, final 
ProcessSession session
             if (createContainer && !containerClient.exists()) {
                 containerClient.create();
             }
-            BlobClient blobClient = containerClient.getBlobClient(blobName);
 
+            BlobClient blobClient = containerClient.getBlobClient(blobName);
+            final BlobRequestConditions blobRequestConditions = new 
BlobRequestConditions();
+            Map<String, String> attributes = new HashMap<>();

Review Comment:
   I see what you mean now – you're right, in the case where we're not 
replacing the blob, it makes no sense to set those attributes. Fixed in 
438c4518b317b71c24fa2633e591fbdd6ecc35e1.



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