Cast int for expire field to avoid call failure to sensu API (#33239)

This commit is contained in:
joaocpinto 2018-11-29 12:30:59 +00:00 committed by John R Barker
parent 6cd321ed8e
commit bbab4c1b49

View file

@ -259,7 +259,7 @@ def main():
argument_spec=dict(
check=dict(required=False),
creator=dict(required=False),
expire=dict(required=False),
expire=dict(type='int', required=False),
expire_on_resolve=dict(type='bool', required=False),
reason=dict(required=False),
state=dict(default='present', choices=['present', 'absent']),