Fix deprecation warnings around addAugmentation()
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / transactions / md / HwvtepPhysicalSwitchUpdateCommand.java
index b3e3a9d9e00ec8504efb12d845fe4af7f32dd5e5..d4edea81d5b076db581586a51ad968ab69af08be 100644 (file)
@@ -158,7 +158,7 @@ public class HwvtepPhysicalSwitchUpdateCommand extends AbstractTransactionComman
         setTunnels(psAugmentationBuilder, phySwitch);
         setSwitchFaultStatus(psAugmentationBuilder, phySwitch);
 
-        psNodeBuilder.addAugmentation(PhysicalSwitchAugmentation.class, psAugmentationBuilder.build());
+        psNodeBuilder.addAugmentation(psAugmentationBuilder.build());
 
         LOG.trace("Built with the intent to store PhysicalSwitch data {}", psAugmentationBuilder.build());
         return psNodeBuilder.build();