Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40acdf9c
authored
Mar 12, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
instance: mooved save() from private function
parent
4d1e7216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/vm/models/instance.py
+1
-1
No files found.
circle/vm/models/instance.py
View file @
40acdf9c
...
...
@@ -726,7 +726,6 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
# Clear node and VNC port association
self
.
node
=
None
self
.
vnc_port
=
None
self
.
save
()
def
redeploy
(
self
,
user
=
None
,
task_uuid
=
None
):
"""Redeploy virtual machine with network
...
...
@@ -773,6 +772,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
self
.
__destroy_vm
(
act
)
self
.
__cleanup_after_destroy_vm
(
act
)
self
.
save
()
def
shut_off_async
(
self
,
user
=
None
):
"""Shut off VM. (plug-out)
...
...
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