From dad91e0a798c06593f3b156732b977590599f5ec Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Mon, 8 Jul 2013 09:30:18 +0200 Subject: [PATCH] DOC: Fix compilation error in migration guide --- akka-docs/rst/project/migration-guide-2.1.x-2.2.x.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/rst/project/migration-guide-2.1.x-2.2.x.rst b/akka-docs/rst/project/migration-guide-2.1.x-2.2.x.rst index 56a5174fcb..f2277aab07 100644 --- a/akka-docs/rst/project/migration-guide-2.1.x-2.2.x.rst +++ b/akka-docs/rst/project/migration-guide-2.1.x-2.2.x.rst @@ -320,7 +320,7 @@ Instead, use actorSelection followed by identify request, and watch the verified ref = actorRef context watch ref case ActorIdentity(_, None) => // not alive - case Terminated(`ref`) => // ... + case Terminated(r) if r == ref => // ... } Use ``watch`` instead of ``isTerminated``