Merge "Fix message for unexpected external event" into stable/pike

This commit is contained in:
Zuul 2018-09-24 17:06:39 +00:00 committed by Gerrit Code Review
commit 88a8db4fa2
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,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