Skip to content

Commit

Permalink
Version up
Browse files Browse the repository at this point in the history
  • Loading branch information
vint21h committed Mar 16, 2021
1 parent 411b884 commit b028154
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions check_supervisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@


# metadata
VERSION = (2, 0, 3)
VERSION = (2, 0, 4)
__version__ = ".".join(map(str, VERSION))


Expand Down Expand Up @@ -373,7 +373,7 @@ def _get_status(self, data):

# for multiple check need to get main status by priority
priority = (
min( # type: ignore
min( # type: ignore # noqa: C407
[
self.OUTPUT_TEMPLATES[self.STATE_TO_TEMPLATE[info["statename"]]][
"priority"
Expand Down
5 changes: 4 additions & 1 deletion nagios-plugin-check-supervisord.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Summary: Check supervisord programs status Nagios plugin
Name: nagios-plugins-check-supervisord
Version: 2.0.3
Version: 2.0.4
Release: 1%{?dist}
Source0: %{original_name}-%{version}.tar.gz
License: GPLv3 or later
Expand Down Expand Up @@ -35,6 +35,9 @@ install -p -m 755 check_supervisord.py %{buildroot}%{_libdir}/nagios/plugins/che
%{_libdir}/nagios/plugins/check_supervisord

%changelog
* Tue Mar 16 2021 Alexei Andrushievich <vint21h@vint21h.pp.ua> - 2.0.4-1
- Updated to new version

* Sun Mar 14 2021 Alexei Andrushievich <vint21h@vint21h.pp.ua> - 2.0.3-1
- Updated to new version

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


# metadata
VERSION = (2, 0, 3)
VERSION = (2, 0, 4)
__version__ = ".".join(map(str, VERSION))

DATA = [
Expand Down

0 comments on commit b028154

Please sign in to comment.