[Trivial]Add space between words in log message

This is to add space between words in log message in
wait_for_volume_attachment_remove.

Change-Id: I355bc829e7c0f01613fc907a6bf9e03b785ba3ea
This commit is contained in:
zhufl 2020-04-14 14:23:47 +08:00
parent 26062e4ac9
commit 747300b369
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ def wait_for_volume_attachment_remove(client, volume_id, attachment_id):
while any(attachment_id == a['attachment_id'] for a in attachments):
time.sleep(client.build_interval)
if int(time.time()) - start >= client.build_timeout:
message = ('Failed to remove attachment %s from volume %s'
message = ('Failed to remove attachment %s from volume %s '
'within the required time (%s s).' %
(attachment_id, volume_id, client.build_timeout))
raise lib_exc.TimeoutException(message)