diff options
author | Jeff Bradberry <jeff.bradberry@gmail.com> | 2022-11-09 19:37:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 19:37:03 +0100 |
commit | 86b0a3d4f1699a53c16cea0ac1f95b3baaaade35 (patch) | |
tree | baf8ff092353864b752647fb94bc15bc4daab654 | |
parent | Merge pull request #13153 from AlanCoding/cleanup_args (diff) | |
parent | Avoid adding the 'config' subparser twice (diff) | |
download | awx-86b0a3d4f1699a53c16cea0ac1f95b3baaaade35.tar.xz awx-86b0a3d4f1699a53c16cea0ac1f95b3baaaade35.zip |
Merge pull request #13174 from jbradberry/fix-3.11-awxkit
Avoid adding the 'config' subparser twice
-rw-r--r-- | awxkit/awxkit/cli/resource.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/awxkit/awxkit/cli/resource.py b/awxkit/awxkit/cli/resource.py index 27b6c623ee..eb605b146b 100644 --- a/awxkit/awxkit/cli/resource.py +++ b/awxkit/awxkit/cli/resource.py @@ -197,8 +197,10 @@ def parse_resource(client, skip_deprecated=False): if hasattr(client, 'v2'): for k in client.v2.json.keys(): - if k in ('dashboard',): - # the Dashboard API is deprecated and not supported + if k in ('dashboard', 'config'): + # - the Dashboard API is deprecated and not supported + # - the Config command is already dealt with by the + # CustomCommand section above continue # argparse aliases are *only* supported in Python3 (not 2.7) |