1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

fix a syntax error

whoopsie
This commit is contained in:
Ryan Petrello 2019-10-25 10:20:18 -04:00
parent 220354241b
commit 52336c0fe8
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -4811,7 +4811,7 @@ class InstanceGroupSerializer(BaseSerializer):
return value
def validate_policy_instance_minimum(self, value):
if value and self.instance self.instance.is_containerized:
if value and self.instance and self.instance.is_containerized:
raise serializers.ValidationError(_('Containerized instances may not be managed via the API'))
return value