Merge "[ovn]Change LogicalSwitchPortUpdateUpEvent old conditions" into stable/xena

This commit is contained in:
Zuul 2022-08-16 16:39:22 +00:00 committed by Gerrit Code Review
commit 74f1279738

View File

@ -484,7 +484,7 @@ class LogicalSwitchPortUpdateUpEvent(row_event.RowEvent):
events = (self.ROW_UPDATE,)
super(LogicalSwitchPortUpdateUpEvent, self).__init__(
events, table, (('up', '=', True),),
old_conditions=(('up', '=', False),))
old_conditions=(('up', '!=', True),))
self.event_name = 'LogicalSwitchPortUpdateUpEvent'
def run(self, event, row, old):