Skip to content

Commit

Permalink
Merge pull request #144 from kpfleming/correct-option-name
Browse files Browse the repository at this point in the history
Correct spelling of 'retries' module argument.
  • Loading branch information
mdellweg authored Feb 15, 2024
2 parents a6426e2 + f21f389 commit 2722366
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/doc_fragments/pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class ModuleDocFragment(object):
description:
- C(aiohttp.ClientTimeout.sock_read) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
type: float
max_retires:
max_retries:
description:
- Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
type: int
Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __init__(self, **kwargs):
connect_timeout=dict(type="float"),
sock_connect_timeout=dict(type="float"),
sock_read_timeout=dict(type="float"),
max_retires=dict(type="int"),
max_retries=dict(type="int"),
)
argument_spec.update(kwargs.pop("argument_spec", {}))
super(PulpRemoteAnsibleModule, self).__init__(argument_spec=argument_spec, **kwargs)
Expand Down
4 changes: 2 additions & 2 deletions plugins/module_utils/pulp_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __init__(self, **kwargs):
connect_timeout=dict(type="float"),
sock_connect_timeout=dict(type="float"),
sock_read_timeout=dict(type="float"),
max_retires=dict(type="int"),
max_retries=dict(type="int"),
)
argument_spec.update(kwargs.pop("argument_spec", {}))

Expand Down Expand Up @@ -264,7 +264,7 @@ def process(self, natural_key, desired_attributes):
"connect_timeout",
"sock_connect_timeout",
"sock_read_timeout",
"max_retires",
"max_retries",
]
if self.params[key] is not None
}
Expand Down

0 comments on commit 2722366

Please sign in to comment.