Use named parameters to Deploy, avoid strange path param
This commit is contained in:
parent
ab8a690c65
commit
a790f5bb32
2 changed files with 4 additions and 2 deletions
|
|
@ -178,7 +178,8 @@ private[akka] class ClusterRouteeProvider(
|
|||
context.actorFor(RootActorPath(target) / settings.routeesPathElements)
|
||||
} else {
|
||||
val name = "c" + childNameCounter.incrementAndGet
|
||||
val deploy = Deploy("", ConfigFactory.empty(), routeeProps.routerConfig, RemoteScope(target))
|
||||
val deploy = Deploy(config = ConfigFactory.empty(), routerConfig = routeeProps.routerConfig,
|
||||
scope = RemoteScope(target))
|
||||
context.asInstanceOf[ActorCell].attachChild(routeeProps.withDeploy(deploy), name, systemService = false)
|
||||
}
|
||||
// must register each one, since registered routees are used in selectDeploymentTarget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue