Merge "Fix message for unexpected external event"
This commit is contained in:
commit
f80b4e5009
@ -342,7 +342,7 @@ class InstanceEvents(object):
|
||||
|
||||
@utils.synchronized(self._lock_name(instance))
|
||||
def _pop_event():
|
||||
if not self._events:
|
||||
if self._events is None:
|
||||
LOG.debug('Unexpected attempt to pop events during shutdown',
|
||||
instance=instance)
|
||||
return no_events_sentinel
|
||||
|
Loading…
x
Reference in New Issue
Block a user