1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-08 13:07:19 +00:00

[stable-11] monit: fix check for pending (#11253)

* monit: fix check for pending

* add changelog frag

* adjust testcases
This commit is contained in:
Alexei Znamensky 2025-12-03 19:19:55 +13:00 committed by GitHub
parent df3898b08c
commit 364e491b7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View file

@ -187,7 +187,7 @@ class Monit(object):
else:
status = Status.NOT_MONITORED
if state == 'pending':
if state == 'PENDING':
status = status.pending()
return status