Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
92602a0f
authored
Nov 13, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: fix typo
parent
90fe50ac
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
circle/vm/migrations/0009_auto__del_field_instance_destoryed__add_field_instance_destroyed.py
+0
-0
circle/vm/models.py
+2
-2
No files found.
circle/vm/migrations/0009_auto__del_field_instance_destoryed__add_field_instance_destroyed.py
0 → 100644
View file @
92602a0f
This diff is collapsed.
Click to expand it.
circle/vm/models.py
View file @
92602a0f
...
...
@@ -335,7 +335,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
help_text
=
_
(
"TCP port where VNC console listens."
),
unique
=
True
,
verbose_name
=
_
(
'vnc_port'
))
owner
=
ForeignKey
(
User
)
dest
or
yed
=
DateTimeField
(
blank
=
True
,
null
=
True
,
dest
ro
yed
=
DateTimeField
(
blank
=
True
,
null
=
True
,
help_text
=
_
(
"The virtual machine's time of "
"destruction."
))
...
...
@@ -633,7 +633,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
self
.
node
=
None
self
.
vnc_port
=
None
self
.
dest
or
yed
=
timezone
.
now
()
self
.
dest
ro
yed
=
timezone
.
now
()
self
.
save
()
def
destroy_async
(
self
,
user
=
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment