Created
October 18, 2016 12:48
-
-
Save anonymous/f9808a9409b44f878b07989e339a8743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final WriteTransaction transaction = databroker.newWriteOnlyTransaction(); | |
transaction.delete(LogicalDatastoreType.CONFIGURATION, flowIID); | |
CheckedFuture<Void, TransactionCommitFailedException> future = transaction.submit(); | |
try { | |
future.checkedGet(); | |
} 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