Browse Source

DeviceAttributes remove

pull/5231/head
Igor Kulikov 5 years ago
parent
commit
ad6a52cffd
  1. 2
      rule-engine/rule-engine-api/src/main/java/org/thingsboard/rule/engine/api/msg/DeviceAttributes.java

2
rule-engine/rule-engine-api/src/main/java/org/thingsboard/rule/engine/api/msg/DeviceAttributes.java

@ -71,7 +71,7 @@ public class DeviceAttributes {
public void remove(AttributeKey key) { public void remove(AttributeKey key) {
Map<String, AttributeKvEntry> map = getMapByScope(key.getScope()); Map<String, AttributeKvEntry> map = getMapByScope(key.getScope());
if (map != null) { if (map != null) {
map.remove(key); map.remove(key.getAttributeKey());
} }
} }

Loading…
Cancel
Save