Fix string declaration in periodic.py

The "%(reason)" of periodic.py has losed 's'.
"%(reason)"  -->  "%(reason)s"

Change-Id: I5bd1b723e5bf8615e11b1d182cc8a978c6b01b8b
This commit is contained in:
PanFengyun 2016-07-07 21:46:54 +08:00
parent cb99c64614
commit f9c662e709
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ class MagnumPeriodicTasks(periodic_task.PeriodicTasks):
else: else:
LOG.info(_LI("Bay with id %(id)s not found in heat " LOG.info(_LI("Bay with id %(id)s not found in heat "
"with stack id %(sid)s, with status_reason: " "with stack id %(sid)s, with status_reason: "
"%(reason)."), {'id': bay.id, 'sid': bay.stack_id, "%(reason)s."), {'id': bay.id, 'sid': bay.stack_id,
'reason': bay.status_reason}) 'reason': bay.status_reason})
def _sync_missing_stack(self, bay, new_status): def _sync_missing_stack(self, bay, new_status):
bay.status = new_status bay.status = new_status