Deprecate CreateTransaction protobuff message
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / AbstractTransactionContextFactory.java
index 4fda059f3182ee898f7f4bc076ae7800159b3a77..d8dda25cc78d524d0ed7241500dbff50de9f669b 100644 (file)
@@ -82,7 +82,7 @@ abstract class AbstractTransactionContextFactory<F extends LocalTransactionFacto
             } else {
                 RemoteTransactionContextSupport remote = new RemoteTransactionContextSupport(transactionContextWrapper,
                         parent, shardName);
-                remote.setPrimaryShard(primaryShardInfo.getPrimaryShardActor(), primaryShardInfo.getPrimaryShardVersion());
+                remote.setPrimaryShard(primaryShardInfo);
             }
         } finally {
             onTransactionContextCreated(parent.getIdentifier());