Skip to content

Commit

Permalink
Fix a serializer viewset interaction issue
Browse files Browse the repository at this point in the history
closes #2430

(cherry picked from commit cc48bb4)
  • Loading branch information
dralley committed Mar 25, 2022
1 parent 8b4cb3c commit 56a6059
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES/2430.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the behavior of `gpgcheck` and `repo_gpgcheck` options when specified on the repository.
2 changes: 0 additions & 2 deletions pulp_rpm/app/serializers/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ class RpmPublicationSerializer(PublicationSerializer):
gpgcheck = serializers.IntegerField(
max_value=1,
min_value=0,
default=0,
required=False,
help_text=_(
"An option specifying whether a client should perform "
Expand All @@ -229,7 +228,6 @@ class RpmPublicationSerializer(PublicationSerializer):
repo_gpgcheck = serializers.IntegerField(
max_value=1,
min_value=0,
default=0,
required=False,
help_text=_(
"An option specifying whether a client should perform "
Expand Down

0 comments on commit 56a6059

Please sign in to comment.