Remove comments about mirroring changes to nova/cells/messaging.py
The nova/cells/messaging.py module no longer exists so we can remove the comments saying to mirror snapshot/backup changes from the compute API to that cells v1 code. Related to blueprint remove-cells-v1 Change-Id: Ic262af86bb848072f5bccd40df1809e5d752af85
This commit is contained in:
parent
1ca69e839f
commit
c9ce93a300
|
@ -2938,9 +2938,6 @@ class API(base.Base):
|
|||
context, instance, name, 'backup', self.image_api,
|
||||
extra_properties=props_copy)
|
||||
|
||||
# NOTE(comstud): Any changes to this method should also be made
|
||||
# to the backup_instance() method in nova/cells/messaging.py
|
||||
|
||||
instance.task_state = task_states.IMAGE_BACKUP
|
||||
instance.save(expected_task_state=[None])
|
||||
|
||||
|
@ -2970,8 +2967,6 @@ class API(base.Base):
|
|||
context, instance, name, 'snapshot', self.image_api,
|
||||
extra_properties=extra_properties)
|
||||
|
||||
# NOTE(comstud): Any changes to this method should also be made
|
||||
# to the snapshot_instance() method in nova/cells/messaging.py
|
||||
instance.task_state = task_states.IMAGE_SNAPSHOT_PENDING
|
||||
try:
|
||||
instance.save(expected_task_state=[None])
|
||||
|
|
Loading…
Reference in New Issue