Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
37b9267e
Commit
37b9267e
authored
Jan 16, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't force-process a stopped instance
parent
85b21e12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+2
-1
No files found.
slapos/grid/slapgrid.py
View file @
37b9267e
...
@@ -745,7 +745,8 @@ class Slapgrid(object):
...
@@ -745,7 +745,8 @@ class Slapgrid(object):
# Try to process it anyway, it may need to be deleted.
# Try to process it anyway, it may need to be deleted.
software_path
=
None
software_path
=
None
if
software_path
:
if
software_path
and
\
computer_partition
.
getState
()
==
COMPUTER_PARTITION_STARTED_STATE
:
# Get periodicity from periodicity file if not forced
# Get periodicity from periodicity file if not forced
periodicity
=
self
.
maximum_periodicity
periodicity
=
self
.
maximum_periodicity
if
not
self
.
force_periodicity
:
if
not
self
.
force_periodicity
:
...
...
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