Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
6a8f4002
Commit
6a8f4002
authored
Feb 12, 2020
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promise: Treat one failure as bad state by default
parent
2d1bb89d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/promise/plugin/check_surykatka_json.py
slapos/promise/plugin/check_surykatka_json.py
+1
-1
No files found.
slapos/promise/plugin/check_surykatka_json.py
View file @
6a8f4002
...
...
@@ -25,7 +25,7 @@ class RunPromise(GenericPromise):
# Set frequency compatible to default surykatka interval - 2 minutes
self
.
setPeriodicity
(
float
(
self
.
getConfig
(
'frequency'
,
2
)))
self
.
failure_amount
=
int
(
self
.
getConfig
(
'failure-amount'
,
self
.
getConfig
(
'failure_amount'
,
3
)))
self
.
getConfig
(
'failure-amount'
,
self
.
getConfig
(
'failure_amount'
,
1
)))
self
.
result_count
=
self
.
failure_amount
self
.
error_list
=
[]
self
.
info_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