Bump versions 9.0.4-SNAPSHOT
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / karaf-cli / src / main / java / org / opendaylight / clustering / it / karaf / cli / DefaultInstanceIdentifierSupport.java
index 7590c3c3dc5d70545ffcffe7394931ad86999260..f9759777efc03aeeecd7933bc39eb22860ea6b60 100644 (file)
@@ -38,7 +38,7 @@ public final class DefaultInstanceIdentifierSupport implements InstanceIdentifie
     public DefaultInstanceIdentifierSupport(@Reference final BindingCodecTree bindingCodecTree,
             @Reference final BindingRuntimeContext runtimeContext) {
         bindingCodec = bindingCodecTree.getInstanceIdentifierCodec();
-        jsonCodec = JSONCodecFactorySupplier.RFC7951.createLazy(runtimeContext.getEffectiveModelContext())
+        jsonCodec = JSONCodecFactorySupplier.RFC7951.createLazy(runtimeContext.modelContext())
             .codecFor(new FakeLeafDefinition(), null);
     }