diff options
author | Daniel Alvarez Sanchez <dalvarez@redhat.com> | 2023-03-29 16:26:38 -0400 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-03-30 22:10:40 +0200 |
commit | daeab9548acc07fec839a46fd6bfd2a392bb91a0 (patch) | |
tree | d250ee8794b3e1115db019e54ceb7749bdfb5cab /tests/pytest.at | |
parent | 0f34ecbd5a73b00f1dd8c6675c7be6fec6e094d4 (diff) | |
download | openvswitch-daeab9548acc07fec839a46fd6bfd2a392bb91a0.tar.gz |
db-ctl-base: Partially revert b8bf410a5.
The commit b8bf410a5 [0] broke the `ovs-vsctl add` command
which now overwrites the value if it existed already.
This patch reverts the code around the `cmd_add` function
to restore the previous behavior. It also adds testing coverage
for this functionality.
[0] https://github.com/openvswitch/ovs/commit/b8bf410a5c94173da02279b369d75875c4035959
Fixes: b8bf410a5c94 ("db-ctl-base: Use partial map/set updates for last add/set commands.")
Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2182767
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Daniel Alvarez Sanchez <dalvarez@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests/pytest.at')
0 files changed, 0 insertions, 0 deletions