Commit 2b903276 by Guba Sándor

added readable name to vm_state_change

parent 7e1dc7a9
...@@ -449,7 +449,8 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin, ...@@ -449,7 +449,8 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin,
# log state change # log state change
try: try:
act = InstanceActivity.create(code_suffix='vm_state_changed', act = InstanceActivity.create(code_suffix='vm_state_changed',
instance=self) instance=self,
readable_name="vm state changed")
except ActivityInProgressError: except ActivityInProgressError:
pass # discard state change if another activity is in progress. pass # discard state change if another activity is in progress.
else: else:
......
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