mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 22:35:08 -02:30
added collection name to module.deprecate() calls; fixed pep8 linting issues
This commit is contained in:
committed by
Seth Foster
parent
378a0711c2
commit
25ca8d22d6
@@ -132,6 +132,7 @@ def main():
|
||||
max_interval = 30
|
||||
interval = abs((min_interval + max_interval) / 2)
|
||||
module.deprecate(
|
||||
collection_name=DOCUMENTATION.module,
|
||||
msg="Min and max interval have been deprecated, please use interval instead; interval will be set to {0}".format(interval),
|
||||
version="ansible.tower:4.0.0",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user