Add missing type to DDCStore
part of ONOS-7479
Change-Id: I1c85ed8cd6b4c9f026bea1e621a0eb349af8a49a
diff --git a/apps/config/src/main/java/org/onosproject/config/impl/DistributedDynamicConfigStore.java b/apps/config/src/main/java/org/onosproject/config/impl/DistributedDynamicConfigStore.java
index 18caf5f..12b84a3 100644
--- a/apps/config/src/main/java/org/onosproject/config/impl/DistributedDynamicConfigStore.java
+++ b/apps/config/src/main/java/org/onosproject/config/impl/DistributedDynamicConfigStore.java
@@ -50,6 +50,7 @@
import org.onosproject.yang.model.KeyLeaf;
import org.onosproject.yang.model.LeafListKey;
import org.onosproject.yang.model.LeafNode;
+import org.onosproject.yang.model.LeafType;
import org.onosproject.yang.model.ListKey;
import org.onosproject.yang.model.NodeKey;
import org.onosproject.yang.model.ResourceId;
@@ -110,7 +111,8 @@
.register(KeyLeaf.class)
.register(BigInteger.class)
.register(BigDecimal.class)
- .register(LinkedHashMap.class);
+ .register(LinkedHashMap.class)
+ .register(LeafType.class);
keystore = storageService.<DataNode.Type>documentTreeBuilder()
.withSerializer(Serializer.using(kryoBuilder.build()))
.withName("config-key-store")