mirror of
https://github.com/ansible/ansible.git
synced 2026-07-28 00:24:41 +02:00
Fix deprecation message typo for get_platform in basic.py (#87065)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- basic.py - Fix typo in deprecation message for use of the ``get_platform`` function.
|
||||
@@ -220,7 +220,7 @@ def get_platform():
|
||||
the result of calling :py:func:`platform.system`.
|
||||
"""
|
||||
deprecate(
|
||||
msg="The `get_platfrom()` function from `ansible.module_utils.basic` is deprecated.",
|
||||
msg="The `get_platform()` function from `ansible.module_utils.basic` is deprecated.",
|
||||
version="2.24",
|
||||
help_text="Use `platform.system()` from the Python standard library instead.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user