Merge "Trivial fix a missleading comment"
This commit is contained in:
commit
5c130ce6d8
@ -3045,8 +3045,8 @@ class ComputeManager(manager.Manager):
|
|||||||
# attach and detach the volumes through attachment level
|
# attach and detach the volumes through attachment level
|
||||||
# operations. In this scenario _detach_volume will delete
|
# operations. In this scenario _detach_volume will delete
|
||||||
# the existing attachment which would make the volume
|
# the existing attachment which would make the volume
|
||||||
# status change to 'in-use' if we don't pre-create another
|
# status change to 'available' if we don't pre-create
|
||||||
# empty attachment before deleting the old one.
|
# another empty attachment before deleting the old one.
|
||||||
attachment_id = None
|
attachment_id = None
|
||||||
if bdm.attachment_id:
|
if bdm.attachment_id:
|
||||||
attachment_id = self.volume_api.attachment_create(
|
attachment_id = self.volume_api.attachment_create(
|
||||||
|
Loading…
Reference in New Issue
Block a user