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
22b41546
authored
Feb 12, 2019
by
Turcsik Máté
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update node.py
parent
066eeb4d
Pipeline
#692
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
circle/vm/models/node.py
+3
-2
No files found.
circle/vm/models/node.py
View file @
22b41546
...
...
@@ -80,7 +80,8 @@ class MyLocalClient(LocalClient):
ret
[
raw
[
'id'
]]
=
raw
[
'return'
]
if
len
(
found
.
intersection
(
minions
))
>=
len
(
minions
):
# All minions have returned, break out of the loop
logger
.
debug
(
"jid
%
s found all minions"
,
jid
)
logge
except
(
KeyError
,
IndexError
,
ValueError
):
r
.
debug
(
"jid
%
s found all minions"
,
jid
)
break
continue
# Then event system timeout was reached and nothing was returned
...
...
@@ -349,7 +350,7 @@ class Node(OperatedMixin, TimeStampedModel):
continue
value
=
target
[
'datapoints'
][
-
2
][
0
]
retval
[
metric
]
=
float
(
value
)
except
(
KeyError
,
IndexError
,
ValueError
):
except
(
KeyError
,
IndexError
,
ValueError
,
TypeError
):
continue
return
retval
...
...
Turcsik Máté
@mtturcsik
mentioned in commit
15bb2bc2
Feb 12, 2019
mentioned in commit
15bb2bc2
mentioned in commit 15bb2bc2bf0d5276ef582d5a75b804adc652d3d3
Toggle commit list
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