mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
fix mk_label method
This commit is contained in:
parent
aaabc2582d
commit
fa010c2228
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user