Instantly share code, notes, and snippets.

What would you like to do?
final WriteTransaction transaction = databroker.newWriteOnlyTransaction();
transaction.delete(LogicalDatastoreType.CONFIGURATION, flowIID);
CheckedFuture<Void, TransactionCommitFailedException> future = transaction.submit();
try {
} catch (TransactionCommitFailedException e) {
LOG.warn("Failed to delete {} ", path, e);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment