mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 17:55:10 +03:00
fix a bug that broke awx config
see: https://github.com/ansible/tower/issues/4206
This commit is contained in:
parent
5f62426684
commit
ea54815e6b
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user