Fixup Augmentable and Identifiable methods changing
[netconf.git] / netconf / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / IetfZeroTouchCallHomeServerProvider.java
index 987fcc03646c64f3806674a533986c8cf96d8db6..982ec0c6f631abbe2c4fde470f2b58d28c99bfc2 100644 (file)
@@ -206,7 +206,7 @@ public class IetfZeroTouchCallHomeServerProvider implements AutoCloseable, DataT
         Device1 devStatus = new Device1Builder().setDeviceStatus(Device1.DeviceStatus.DISCONNECTED).build();
         if (opDevGet.isPresent()) {
             Device opDevice = opDevGet.get();
-            devStatus = opDevice.getAugmentation(Device1.class);
+            devStatus = opDevice.augmentation(Device1.class);
         }
 
         cfgDevice = new DeviceBuilder().addAugmentation(Device1.class, devStatus)