Showing
1 changed file
with
1 additions
and
1 deletions
@@ -71,7 +71,7 @@ public class DeviceAttributes { | @@ -71,7 +71,7 @@ public class DeviceAttributes { | ||
71 | public void remove(AttributeKey key) { | 71 | public void remove(AttributeKey key) { |
72 | Map<String, AttributeKvEntry> map = getMapByScope(key.getScope()); | 72 | Map<String, AttributeKvEntry> map = getMapByScope(key.getScope()); |
73 | if (map != null) { | 73 | if (map != null) { |
74 | - map.remove(key); | 74 | + map.remove(key.getAttributeKey()); |
75 | } | 75 | } |
76 | } | 76 | } |
77 | 77 |