Merge "Fix message for unexpected external event"

This commit is contained in:
Zuul 2018-03-20 12:37:38 +00:00 committed by Gerrit Code Review
commit f80b4e5009
1 changed files with 1 additions and 1 deletions

View File

@ -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