mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Handle vacuous role rebuilding condition instead of exploding
This commit is contained in:
parent
85843cc6ad
commit
2a676d80ce
@ -234,6 +234,9 @@ class Role(CommonModelNameNotUnique):
|
||||
#
|
||||
#
|
||||
|
||||
if len(role_ids_to_rebuild) == 0:
|
||||
return
|
||||
|
||||
cursor = connection.cursor()
|
||||
loop_ct = 0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user