Commit deeeddce by cloud Committed by Bach Dániel

temporary fix of Instance._update_status()

parent 79fea681
......@@ -283,7 +283,7 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin,
if old != self.status:
logger.info('Status of Instance#%d changed to %s',
self.pk, self.status)
self.save()
self.save(update_fields=('status', ))
def _compute_status(self):
"""Return the proper status of the instance based on activities.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment