mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Rename managed_by_tower to managed
This commit is contained in:
committed by
Shane McDonald
parent
6db4732bf3
commit
06b04007a0
@@ -82,8 +82,8 @@ class ApiV2(base.Base):
|
||||
|
||||
def _export(self, _page, post_fields):
|
||||
# Drop any (credential_type) assets that are being managed by the instance.
|
||||
if _page.json.get('managed_by_tower'):
|
||||
log.debug("%s is managed by Tower, skipping.", _page.endpoint)
|
||||
if _page.json.get('managed'):
|
||||
log.debug("%s is managed, skipping.", _page.endpoint)
|
||||
return None
|
||||
if post_fields is None: # Deprecated endpoint or insufficient permissions
|
||||
log.error("Object export failed: %s", _page.endpoint)
|
||||
|
||||
Reference in New Issue
Block a user