Skip to content

Commit 15150ed

Browse files
otherwiseguykarelyatin
authored andcommitted
Fix indentation issue in wait_for_change override
The ovsdbapp.backend.ovs_idl.idlutils.wait_for_change method was overriden in Ia9e23113fdeebf0b99085da200c3d61b71567d36. Unfortunately, and indentation error was introduced which rendered the method as a NoOp if a seqno was passed to it. Closes-Bug: #1989646 Change-Id: I9d8db215ba19ea88bc615b7b30084113a3c953d4 (cherry picked from commit fb7d937)
1 parent b11fb88 commit 15150ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
def wait_for_change(idl_, timeout, seqno=None):
5151
if seqno is None:
5252
seqno = idl_.change_seqno
53-
while idl_.change_seqno == seqno and not idl_.run():
54-
poller = idlutils.poller.Poller()
55-
idl_.wait(poller)
56-
poller.block()
53+
while idl_.change_seqno == seqno and not idl_.run():
54+
poller = idlutils.poller.Poller()
55+
idl_.wait(poller)
56+
poller.block()
5757

5858

5959
idlutils.wait_for_change = wait_for_change

0 commit comments

Comments
 (0)