Fix deprecation message typo for get_platform in basic.py (#87065)

This commit is contained in:
Matt Clay
2026-06-05 07:17:25 +00:00
committed by GitHub
parent 09f1ac42d5
commit 147ca90b27
2 changed files with 3 additions and 1 deletions
@@ -0,0 +1,2 @@
bugfixes:
- basic.py - Fix typo in deprecation message for use of the ``get_platform`` function.
+1 -1
View File
@@ -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.",
)