diff --git a/Changelog.md b/Changelog.md index 573ab94989c7e4d33e8710f6f9ef2ffb4404289e..ea308860cdd5b2d515dc62d5716e4a45463533a6 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,5 +2,8 @@ All notable changes to this project will be documented in this file. +## [0.2] - 2021-06-10 +- ensure checks are published + ## [0.1] - 2021-06-01 - initial release diff --git a/brian_polling_manager/interfaces.py b/brian_polling_manager/interfaces.py index 2c0adef6f595f21ee42d64d32c1a89394cf40727..f824c0d69d30262a4d87501f5b6291213b817131 100644 --- a/brian_polling_manager/interfaces.py +++ b/brian_polling_manager/interfaces.py @@ -43,11 +43,14 @@ def _make_check(check_params, interface): 'metadata': { 'name': _check_name(interface), 'namespace': check_params['namespace'] - } + }, + 'publish': True } def _checks_match(a, b) -> bool: + if a['publish'] != b['publish']: + return False if a['command'] != b['command']: return False if a['interval'] != b['interval']: diff --git a/setup.py b/setup.py index 59ddd2c76c53cfbd00d4366fd7c9ac62f482ac9d..5869c7014767c852d01296b5faeb5a31625a889b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='brian-polling-manager', - version="0.1", + version="0.2", author='GEANT', author_email='swd@geant.org', description='service for managing BRIAN polling checks',