mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
change the logic to not break existing policy_instance testing
This commit is contained in:
@@ -294,8 +294,8 @@ 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:
|
||||
instance.set_default_policy_fields()
|
||||
elif created or instance.is_containerized:
|
||||
instance.set_default_policy_fields()
|
||||
|
||||
|
||||
@receiver(post_save, sender=Instance)
|
||||
|
||||
Reference in New Issue
Block a user