fix_bug: commit
This commit is contained in:
parent
f16779e8e3
commit
355d09569b
@ -165,10 +165,7 @@ public class DefaultTbClusterService implements TbClusterService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void pushMsgToRuleEngine(TenantId tenantId, EntityId entityId, TbMsg tbMsg, TbQueueCallback callback) {
|
public void pushMsgToRuleEngine(TenantId tenantId, EntityId entityId, TbMsg tbMsg, TbQueueCallback callback) {
|
||||||
if (tenantId == null) {
|
if (tenantId == null || tenantId.isNullUid()) {
|
||||||
log.warn("tenantId [null] [{}] Received invalid message: {}", entityId, tbMsg);
|
|
||||||
return;
|
|
||||||
} else if (tenantId.isNullUid()) {
|
|
||||||
if (entityId.getEntityType().equals(EntityType.TENANT)) {
|
if (entityId.getEntityType().equals(EntityType.TENANT)) {
|
||||||
tenantId = TenantId.fromUUID(entityId.getId());
|
tenantId = TenantId.fromUUID(entityId.getId());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user