This is a follow-up to
8a228e4974b9e6909df0a4aa7866eadfee9e438c,
correcting a minor change in semantics.
Change-Id: I4478c1df8b12c7a798c73b9707cf903705cc1587
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
add.getTunnelInterfaceName());
return Collections.singletonList(txRunner
.callWithNewWriteOnlyTransactionAndSubmit(Datastore.OPERATIONAL,
- tx -> tx.mergeParentStructureMerge(identifier,
+ tx -> tx.merge(identifier,
new StateTunnelListBuilder(add).setOperState(operStatus).build())));
}
}