mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
Add a connection kwarg to Page.from_json
if you don't reuse the connection when doing this, you lose your authentication.
This commit is contained in:
@@ -177,7 +177,7 @@ def parse_resource(client, skip_deprecated=False):
|
||||
}
|
||||
_filter = 'key, value'
|
||||
formatted = format_response(
|
||||
Page.from_json(response),
|
||||
Page.from_json(response, connection=client.root.connection),
|
||||
fmt=client.get_config('format'),
|
||||
filter=_filter
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user