Use Protocol Buffers to Serialize DeleteData
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / TransactionProxy.java
index e65aab85a44b39dbfc97306c9a143df20142bbd0..d3f209b5226f0149c2daaaa006e9aca55a8ae538 100644 (file)
@@ -128,7 +128,7 @@ public class TransactionProxy implements DOMStoreReadWriteTransaction {
     @Override
     public void delete(InstanceIdentifier path) {
         final ActorSelection remoteTransaction = remoteTransactionFromIdentifier(path);
-        remoteTransaction.tell(new DeleteData(path), null);
+        remoteTransaction.tell(new DeleteData(path).toSerializable(), null);
     }
 
     @Override