mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +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:
@@ -187,7 +187,7 @@ class Monit(object):
|
||||
else:
|
||||
status = Status.NOT_MONITORED
|
||||
|
||||
if state == 'pending':
|
||||
if state == 'PENDING':
|
||||
status = status.pending()
|
||||
return status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user