Add missing print format and missing ws in log message
This is to add missing print format parameter and missing white spaces in the log message. Change-Id: I76f790f98a9f7f2c7f0cbbbed1d50f5ec057b8c8
This commit is contained in:
parent
b7881e919d
commit
5ed5b65993
|
@ -140,8 +140,8 @@ class AdminOs(object):
|
||||||
% (backup.id, del_backup[0].status))
|
% (backup.id, del_backup[0].status))
|
||||||
if (del_backup[0].status == 'deleting') \
|
if (del_backup[0].status == 'deleting') \
|
||||||
and (int(time.time()) - start_time > timeout):
|
and (int(time.time()) - start_time > timeout):
|
||||||
LOG.error("Delete backup %s failed, In a state of"
|
LOG.error("Delete backup %s failed, In a state of "
|
||||||
"deleting over 120s")
|
"deleting over 120s", backup.id)
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"Delete backup %s failed due to timeout over 120s,"
|
"Delete backup %s failed due to timeout over 120s,"
|
||||||
" the status of backup is %s."
|
" the status of backup is %s."
|
||||||
|
|
Loading…
Reference in New Issue