bigip_pool_member: fix idempotency with session_state argument (#2745)

This commit is contained in:
Angus Williams 2016-08-23 08:26:40 +01:00 committed by René Moser
parent fc34f17871
commit 19107086f4

View file

@ -506,7 +506,7 @@ def main():
if not module.check_mode:
set_member_session_enabled_state(api, pool, address, port, session_state)
result = {'changed': True}
elif session_state == 'disabled' and session_status != 'force_disabled':
elif session_state == 'disabled' and session_status != 'forced_disabled':
if not module.check_mode:
set_member_session_enabled_state(api, pool, address, port, session_state)
result = {'changed': True}