Merge "[Trivial fix] Add missing ws seperator between words"

This commit is contained in:
Zuul 2019-03-20 10:29:25 +00:00 committed by Gerrit Code Review
commit 74d2f5655a
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ class PollingTask(object):
# If no resources, skip for this pollster
if not polling_resources:
p_context = 'new ' if history else ''
LOG.debug("Skip pollster %(name)s, no %(p_context)s"
LOG.debug("Skip pollster %(name)s, no %(p_context)s "
"resources found this cycle",
{'name': pollster.name, 'p_context': p_context})
continue

View File

@ -622,7 +622,7 @@ class TestPollingAgent(BaseAgent):
pollster = list(polling_task.pollster_matches['test_polling'])[0]
polling_task.poll_and_notify()
LOG.debug.assert_called_with(
'Skip pollster %(name)s, no %(p_context)sresources found this '
'Skip pollster %(name)s, no %(p_context)s resources found this '
'cycle', {'name': pollster.name, 'p_context': ''})
@mock.patch('ceilometer.polling.manager.LOG')
@ -637,7 +637,7 @@ class TestPollingAgent(BaseAgent):
polling_task = list(self.mgr.setup_polling_tasks().values())[0]
polling_task.poll_and_notify()
LOG.debug.assert_called_with(
'Skip pollster %(name)s, no %(p_context)sresources found this '
'Skip pollster %(name)s, no %(p_context)s resources found this '
'cycle', {'name': 'test', 'p_context': 'new '})
@mock.patch('oslo_utils.timeutils.utcnow')