Skip to content

Commit a5acd88

Browse files
committed
Remove unnecessary code
1 parent e023361 commit a5acd88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ object FPCInvokerReactive extends InvokerProvider {
6464
poolConfig: ContainerPoolConfig,
6565
limitsConfig: ConcurrencyLimitConfig)(implicit actorSystem: ActorSystem, logging: Logging): InvokerCore =
6666
new FPCInvokerReactive(config, instance, producer, poolConfig, limitsConfig)
67-
68-
var invokerHealthManagerActor: Option[ActorRef] = None
6967
}
7068

7169
class FPCInvokerReactive(config: WhiskConfig,
@@ -217,7 +215,7 @@ class FPCInvokerReactive(config: WhiskConfig,
217215
private val invokerHealthManager =
218216
actorSystem.actorOf(
219217
InvokerHealthManager.props(instance, healthContainerProxyFactory, dataManagementService, entityStore))
220-
FPCInvokerReactive.invokerHealthManagerActor = Some(invokerHealthManager)
218+
221219
invokerHealthManager ! Enable
222220

223221
private def activationClientFactory(etcd: EtcdClient)(

0 commit comments

Comments
 (0)