Skip to content

Commit c971d00

Browse files
author
Taichi Yamakawa
committed
Refactor SnapshotStore.persistenceId
1 parent 35714db commit c971d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/lerna/akka/entityreplication/raft/snapshot/SnapshotStore.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private[entityreplication] class SnapshotStore(
3434
import SnapshotProtocol._
3535

3636
override def persistenceId: String =
37-
ActorIds.persistenceId("SnapshotStore", typeName.underlying, entityId.underlying, selfMemberIndex.role)
37+
SnapshotStore.persistenceId(typeName, entityId, selfMemberIndex)
3838

3939
override def journalPluginId: String = settings.journalPluginId
4040

0 commit comments

Comments
 (0)