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
aa9648f6
authored
Oct 16, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: allow shutoff in 'PAUSED' state
parent
04f78c0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/vm/operations.py
+1
-1
No files found.
circle/vm/operations.py
View file @
aa9648f6
...
@@ -754,7 +754,7 @@ class ShutOffOperation(InstanceOperation):
...
@@ -754,7 +754,7 @@ class ShutOffOperation(InstanceOperation):
"operation is the same as interrupting the power supply "
"operation is the same as interrupting the power supply "
"of a physical machine."
)
"of a physical machine."
)
required_perms
=
()
required_perms
=
()
accept_states
=
(
'RUNNING'
,
)
accept_states
=
(
'RUNNING'
,
'PAUSED'
)
resultant_state
=
'STOPPED'
resultant_state
=
'STOPPED'
def
_operation
(
self
,
activity
):
def
_operation
(
self
,
activity
):
...
...
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