Merge "Trivial fix a missleading comment"

This commit is contained in:
Zuul 2018-02-06 04:05:50 +00:00 committed by Gerrit Code Review
commit 5c130ce6d8

View File

@ -3045,8 +3045,8 @@ class ComputeManager(manager.Manager):
# attach and detach the volumes through attachment level
# operations. In this scenario _detach_volume will delete
# the existing attachment which would make the volume
# status change to 'in-use' if we don't pre-create another
# empty attachment before deleting the old one.
# status change to 'available' if we don't pre-create
# another empty attachment before deleting the old one.
attachment_id = None
if bdm.attachment_id:
attachment_id = self.volume_api.attachment_create(