mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
fix mk_label method
This commit is contained in:
@@ -255,7 +255,7 @@ def create_organization(name, **kwargs):
|
||||
if type(l) is Label:
|
||||
labels[l.name] = l
|
||||
else:
|
||||
labels[l] = mk_label(l, org, persisted=persisted)
|
||||
labels[l] = mk_label(l, organization=org, persisted=persisted)
|
||||
|
||||
apply_roles(kwargs.get('roles'), [superusers, users, teams, projects, labels], persisted)
|
||||
return Objects(organization=org,
|
||||
|
||||
Reference in New Issue
Block a user