Browse Source

Fix string declaration in periodic.py

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

Change-Id: I5bd1b723e5bf8615e11b1d182cc8a978c6b01b8b
changes/00/338900/2
PanFengyun 6 years ago
parent
commit
f9c662e709
  1. 4
      magnum/service/periodic.py

4
magnum/service/periodic.py

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

Loading…
Cancel
Save