NIFI-6989: Removed call to cancel() in SiteToSiteReportingSink

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #3969.
This commit is contained in:
Matthew Burgess 2020-01-08 22:42:23 -05:00 committed by Pierre Villard
parent ebd33452c4
commit 28aa155fd4
No known key found for this signature in database
GPG Key ID: BEE1599F0726E9CD
1 changed files with 0 additions and 2 deletions

View File

@ -163,8 +163,6 @@ public class SiteToSiteReportingRecordSink extends AbstractControllerService imp
transaction.send(out.toByteArray(), attributes);
transaction.confirm();
transaction.complete();
} else {
transaction.cancel("No data to send");
}
}
return writeResult;