mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 04:57:16 +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:
parent
df3898b08c
commit
364e491b7e
3 changed files with 7 additions and 5 deletions
|
|
@ -187,7 +187,7 @@ class Monit(object):
|
|||
else:
|
||||
status = Status.NOT_MONITORED
|
||||
|
||||
if state == 'pending':
|
||||
if state == 'PENDING':
|
||||
status = status.pending()
|
||||
return status
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue