k8s_exec: Update deprecation warning (#419)

k8s_exec: Update deprecation warning

SUMMARY
return_code is deprecated in favor of rc, update the
deprecation warning to tell user about the reason behind
this.
Fixes: #417
Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
changelogs/fragments/417_deprecation.yml
plugins/modules/k8s_exec.py

Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2022-03-23 19:44:37 +05:30
committed by GitHub
parent f418353e44
commit 0299aa8807
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- k8s_exec - update deprecation warning for `return_code` (https://github.com/ansible-collections/kubernetes.core/issues/417).