Ignore ComponentLifecycleMsg for non-managed tenants
This commit is contained in:
parent
91d6cf6dee
commit
4319024eed
@ -284,7 +284,7 @@ public class TenantActor extends RuleChainManagerActor {
|
|||||||
onToDeviceActorMsg(new DeviceDeleteMsg(tenantId, deviceId), true);
|
onToDeviceActorMsg(new DeviceDeleteMsg(tenantId, deviceId), true);
|
||||||
deletedDevices.add(deviceId);
|
deletedDevices.add(deviceId);
|
||||||
}
|
}
|
||||||
if (isRuleEngine) {
|
if (isRuleEngine && ruleChainsInitialized) {
|
||||||
TbActorRef target = getEntityActorRef(msg.getEntityId());
|
TbActorRef target = getEntityActorRef(msg.getEntityId());
|
||||||
if (target != null) {
|
if (target != null) {
|
||||||
if (msg.getEntityId().getEntityType() == EntityType.RULE_CHAIN) {
|
if (msg.getEntityId().getEntityType() == EntityType.RULE_CHAIN) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user