mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 09:07:45 -02:30
change the logic to not break existing policy_instance testing
This commit is contained in:
@@ -294,7 +294,7 @@ def on_instance_group_saved(sender, instance, created=False, raw=False, **kwargs
|
||||
if created or instance.has_policy_changes():
|
||||
if not instance.is_containerized:
|
||||
schedule_policy_task()
|
||||
if created or instance.is_containerized:
|
||||
elif created or instance.is_containerized:
|
||||
instance.set_default_policy_fields()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user