Skip to content

Commit

Permalink
peers field not required
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterseth committed Jun 14, 2023
1 parent 9c2ef11 commit c451a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5387,7 +5387,7 @@ class InstanceSerializer(BaseSerializer):
jobs_running = serializers.IntegerField(help_text=_('Count of jobs in the running or waiting state that are targeted for this instance'), read_only=True)
jobs_total = serializers.IntegerField(help_text=_('Count of all jobs that target this instance'), read_only=True)
health_check_pending = serializers.SerializerMethodField()
peers = PeersSerializer(many=True)
peers = PeersSerializer(many=True, required=False)

class Meta:
model = Instance
Expand Down

0 comments on commit c451a63

Please sign in to comment.