Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bf7cb98d
authored
Sep 24, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manager: don't schedule to non-schedule_enabled Node
parent
8c1e37eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/manager/scheduler.py
+1
-1
No files found.
circle/manager/scheduler.py
View file @
bf7cb98d
...
@@ -56,7 +56,7 @@ def select_node(instance, nodes):
...
@@ -56,7 +56,7 @@ def select_node(instance, nodes):
'''
'''
# check required traits
# check required traits
nodes
=
[
n
for
n
in
nodes
nodes
=
[
n
for
n
in
nodes
if
n
.
enabled
and
n
.
online
if
n
.
schedule_
enabled
and
n
.
online
and
has_traits
(
instance
.
req_traits
.
all
(),
n
)]
and
has_traits
(
instance
.
req_traits
.
all
(),
n
)]
if
not
nodes
:
if
not
nodes
:
logger
.
warning
(
'select_node: no usable node for
%
s'
,
unicode
(
instance
))
logger
.
warning
(
'select_node: no usable node for
%
s'
,
unicode
(
instance
))
...
...
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