Fixing typo in Cinder API
Fixing typo in the comment of Cinder API Change-Id: Ic69816c974d286dfce13df3736466c83d94e4947 Closes-Bug: #1433353
This commit is contained in:
parent
28b65ea91c
commit
6c7141886f
@ -213,8 +213,8 @@ def volume_get(request, volume_id):
|
|||||||
instance = nova.server_get(request, attachment['server_id'])
|
instance = nova.server_get(request, attachment['server_id'])
|
||||||
attachment['instance_name'] = instance.name
|
attachment['instance_name'] = instance.name
|
||||||
else:
|
else:
|
||||||
# Nova volume can occasionally send back error'd attachments
|
# Nova volume can occasionally send attachments in error state
|
||||||
# the lack a server_id property; to work around that we'll
|
# that lack a server_id property; to work around that we'll
|
||||||
# give the attached instance a generic name.
|
# give the attached instance a generic name.
|
||||||
attachment['instance_name'] = _("Unknown instance")
|
attachment['instance_name'] = _("Unknown instance")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user