mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Ansible.Basic - fix deprecate return value (#48908)
This commit is contained in:
@@ -242,7 +242,7 @@ namespace Ansible.Basic
|
||||
|
||||
public void Deprecate(string message, string version)
|
||||
{
|
||||
deprecations.Add(new Dictionary<string, string>() { { "message", message }, { "version", version } });
|
||||
deprecations.Add(new Dictionary<string, string>() { { "msg", message }, { "version", version } });
|
||||
LogEvent(String.Format("[DEPRECATION WARNING] {0} {1}", message, version));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user