mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Merge pull request #6469 from ryanpetrello/cli-config-wooops
fix a bug that broke `awx config` Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -176,8 +176,12 @@ def parse_resource(client, skip_deprecated=False):
|
||||
]
|
||||
}
|
||||
_filter = 'key, value'
|
||||
try:
|
||||
connection = client.root.connection
|
||||
except AttributeError:
|
||||
connection = None
|
||||
formatted = format_response(
|
||||
Page.from_json(response, connection=client.root.connection),
|
||||
Page.from_json(response, connection=connection),
|
||||
fmt=client.get_config('format'),
|
||||
filter=_filter
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user