Ansible.Basic - fix deprecate return value (#48908)

This commit is contained in:
Jordan Borean 2018-11-20 09:26:16 +10:00 committed by GitHub
parent 8e6c3b06b8
commit e62edfc796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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));
}