Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
brian-polling-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
brian
brian-polling-manager
Commits
b9e9c725
Commit
b9e9c725
authored
3 years ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
pep8
parent
5ff8c113
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
brian_polling_manager/eumetsat_multicast.py
+1
-0
1 addition, 0 deletions
brian_polling_manager/eumetsat_multicast.py
brian_polling_manager/inventory.py
+1
-0
1 addition, 0 deletions
brian_polling_manager/inventory.py
brian_polling_manager/main.py
+1
-1
1 addition, 1 deletion
brian_polling_manager/main.py
with
3 additions
and
1 deletion
brian_polling_manager/eumetsat_multicast.py
+
1
−
0
View file @
b9e9c725
...
...
@@ -2,6 +2,7 @@ from brian_polling_manager import sensu
_CHECK_PREFIX
=
'
eumetmc
'
def
load_eumetsat_multicast_checks
(
sensu_params
):
def
_is_eumetsat_multicast_check
(
check
):
name
=
check
[
'
metadata
'
][
'
name
'
]
...
...
This diff is collapsed.
Click to expand it.
brian_polling_manager/inventory.py
+
1
−
0
View file @
b9e9c725
...
...
@@ -117,6 +117,7 @@ MULTICAST_SUBSCRIPTION_LIST_SCHEMA = {
'
items
'
:
{
'
$ref
'
:
'
#/definitions/subscription
'
}
}
def
_pick_one
(
haystack
):
if
not
isinstance
(
haystack
,
(
list
,
tuple
,
set
)):
haystack
=
[
haystack
]
...
...
This diff is collapsed.
Click to expand it.
brian_polling_manager/main.py
+
1
−
1
View file @
b9e9c725
...
...
@@ -88,7 +88,7 @@ def refresh(config, force=False):
config
[
'
inventory
'
])
state
.
eumetsat_multicast
\
=
inventory
.
load_eumetsat_multicast_subscriptions
(
config
[
'
inventory
'
])
config
[
'
inventory
'
])
result
=
{
'
interfaces
'
:
interfaces
.
refresh
(
config
[
'
sensu
'
],
state
.
interfaces
),
'
gws_direct
'
:
gws_direct
.
refresh
(
config
[
'
sensu
'
],
state
.
gws_direct
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment