Commit 92602a0f by Dudás Ádám

vm: fix typo

parent 90fe50ac
...@@ -335,7 +335,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -335,7 +335,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
help_text=_("TCP port where VNC console listens."), help_text=_("TCP port where VNC console listens."),
unique=True, verbose_name=_('vnc_port')) unique=True, verbose_name=_('vnc_port'))
owner = ForeignKey(User) owner = ForeignKey(User)
destoryed = DateTimeField(blank=True, null=True, destroyed = DateTimeField(blank=True, null=True,
help_text=_("The virtual machine's time of " help_text=_("The virtual machine's time of "
"destruction.")) "destruction."))
...@@ -633,7 +633,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -633,7 +633,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
self.node = None self.node = None
self.vnc_port = None self.vnc_port = None
self.destoryed = timezone.now() self.destroyed = timezone.now()
self.save() self.save()
def destroy_async(self, user=None): def destroy_async(self, user=None):
......
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