doc: Vector instead of List in daemon processes example (#28763)
This commit is contained in:
parent
992e3624bb
commit
fa9ceaa5eb
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class ShardedDaemonProcessSpec
|
|||
|
||||
def docExample(): Unit = {
|
||||
// #tag-processing
|
||||
val tags = "tag-1" :: "tag-2" :: "tag-3" :: Nil
|
||||
val tags = Vector("tag-1", "tag-2", "tag-3")
|
||||
ShardedDaemonProcess(system).init("TagProcessors", tags.size, id => TagProcessor(tags(id)))
|
||||
// #tag-processing
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue