doc: Vector instead of List in daemon processes example (#28763)

This commit is contained in:
Patrik Nordwall 2020-03-19 13:34:41 +01:00 committed by GitHub
parent 992e3624bb
commit fa9ceaa5eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}