Why don't you use
```scala
nodes map (fetchReplicationLag(token, _))
```