fix: kustomize plugin fails with deprecation warnings (#728) (#763)

This is a backport of PR #728 as merged into main (5bc53db).
SUMMARY

error judgments are based on the exit codes of command execution, where 0 represents success and non-zero represents failure.
Optimize the run_command function to return a tuple like the run_command method of AnsibleModule.

Fixes #639
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

kustomize lookup plugin
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
patchback[bot]
2024-07-15 14:06:29 +00:00
committed by GitHub
parent 31fd4058f1
commit 00bbf16cff
2 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- kustomize - kustomize plugin fails with deprecation warnings (https://github.com/ansible-collections/kubernetes.core/issues/639).