Merge "[ovn]Change LogicalSwitchPortUpdateUpEvent old conditions"

This commit is contained in:
Zuul 2022-08-05 04:29:18 +00:00 committed by Gerrit Code Review
commit f6bbe57fdb
1 changed files with 1 additions and 1 deletions

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):