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
changes/81/760481/1
zhufl 3 years ago
parent b7881e919d
commit 5ed5b65993

@ -140,8 +140,8 @@ class AdminOs(object):
% (backup.id, del_backup[0].status))
if (del_backup[0].status == 'deleting') \
and (int(time.time()) - start_time > timeout):
LOG.error("Delete backup %s failed, In a state of"
"deleting over 120s")
LOG.error("Delete backup %s failed, In a state of "
"deleting over 120s", backup.id)
raise Exception(
"Delete backup %s failed due to timeout over 120s,"
" the status of backup is %s."

Loading…
Cancel
Save