[Trivial fix] Add missing ws seperator between words

This is to add missing ws seperator between words.

Change-Id: Iad3bbe242b8e848830d51286d87d4c39480b1d4b
This commit is contained in:
zhufl 2019-01-23 14:32:16 +08:00
parent ce2ac3dfc5
commit 4c9075e0a2
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')