From 1a7b279d78374598d0330718c81c93048d54dd7c Mon Sep 17 00:00:00 2001 From: Jacob Cutright Date: Wed, 26 Apr 2023 17:32:50 -0400 Subject: [PATCH] Fix typo in ipapwpolicy.py The 'maxsequence' attribute was never applied as there was a typo when it was set. By fixing the field name, 'maxsequence' is correclty set. The failure was not seen before due to missing tests. The tests will be added in a separate PR. --- plugins/modules/ipapwpolicy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ipapwpolicy.py b/plugins/modules/ipapwpolicy.py index 3a3eeed..557702f 100644 --- a/plugins/modules/ipapwpolicy.py +++ b/plugins/modules/ipapwpolicy.py @@ -197,7 +197,7 @@ def gen_args(module, if maxrepeat is not None: _args["ipapwdmaxrepeat"] = maxrepeat if maxsequence is not None: - _args["ipapwdmaxrsequence"] = maxsequence + _args["ipapwdmaxsequence"] = maxsequence if dictcheck is not None: if module.ipa_check_version("<", "4.9.10"): # Allowed values: "TRUE", "FALSE", "" -- 2.39.2