give cached value back in ddata sample(#26476)

This commit is contained in:
Vasilis Nicolaou 2019-03-19 07:06:26 +00:00 committed by Johan Andrén
parent 3ef7bf5ef5
commit 4a04eddf7d

View file

@ -71,7 +71,7 @@ object ReplicatorSpec {
Behaviors.same
case GetCachedValue(replyTo) =>
replicator ! Replicator.Get(Key, Replicator.ReadLocal, getResponseAdapter, Some(replyTo))
replyTo ! cachedValue
Behaviors.same
case internal: InternalMsg =>