commit | 3e4dbef8b99fbf1900bd3ac29b0778e0e0c31624 | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Tue Jan 15 18:40:21 2019 -0800 |
committer | Jordan Halterman <jordan@opennetworking.org> | Tue Mar 05 00:42:27 2019 +0000 |
tree | 345ce8d45af78e626139e73df3185b6978542a9c | |
parent | 2ef1cf725e5b5219c200b47b20f1fa44dc30d73c [diff] |
Use singleton primitives in transactions Change-Id: Ibb29a3f10e9863e075a4aba9bc357ed1ca9dfcc1 (cherry picked from commit c1c057aa18b63ceb78f5a95166d8f83bc0967328)
diff --git a/core/store/primitives/src/main/java/org/onosproject/store/atomix/primitives/impl/AtomixTransactionContext.java b/core/store/primitives/src/main/java/org/onosproject/store/atomix/primitives/impl/AtomixTransactionContext.java index 6be5be0..dd81b09 100644 --- a/core/store/primitives/src/main/java/org/onosproject/store/atomix/primitives/impl/AtomixTransactionContext.java +++ b/core/store/primitives/src/main/java/org/onosproject/store/atomix/primitives/impl/AtomixTransactionContext.java
@@ -99,6 +99,6 @@ .withMaxRetries(MAX_RETRIES) .build()) .withSerializer(new AtomixSerializerAdapter(serializer)) - .build()); + .get()); } }