Fix ActionRegistry persistenceId 81/115081/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 2 Feb 2025 13:59:30 +0000 (14:59 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 2 Feb 2025 14:28:17 +0000 (15:28 +0100)
We are passing down the RPC registry id, hence we have a clash. Fix that
up.

Change-Id: I9f177df639258c47b2ee2d446bcfe0ce185391db
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/ActionRegistry.java

index 1551b49e3112c5517333e7efbc71b59b34e3862c..8f7dd6dc6ea39ae2dbe11904a07a44a7c2c6eda2 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.controller.remote.rpc.registry;
 
 import static java.util.Objects.requireNonNull;
+import static org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.LOG;
 
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;
@@ -41,7 +42,7 @@ public class ActionRegistry extends BucketStoreActor<ActionRoutingTable> {
 
     public ActionRegistry(final RemoteOpsProviderConfig config, final ActorRef rpcInvoker,
                           final ActorRef rpcRegistrar) {
-        super(config, config.getRpcRegistryPersistenceId(), new ActionRoutingTable(rpcInvoker, ImmutableSet.of()));
+        super(config, config.getActionRegistryPersistenceId(), new ActionRoutingTable(rpcInvoker, ImmutableSet.of()));
         this.rpcRegistrar = requireNonNull(rpcRegistrar);
     }