mirror of https://github.com/apache/nifi.git
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:
parent
ebd33452c4
commit
28aa155fd4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue