diff --git a/CHANGES/2430.bugfix b/CHANGES/2430.bugfix new file mode 100644 index 000000000..85dc3d586 --- /dev/null +++ b/CHANGES/2430.bugfix @@ -0,0 +1 @@ +Fix the behavior of `gpgcheck` and `repo_gpgcheck` options when specified on the repository. diff --git a/pulp_rpm/app/serializers/repository.py b/pulp_rpm/app/serializers/repository.py index 47ff3a802..bbd933275 100644 --- a/pulp_rpm/app/serializers/repository.py +++ b/pulp_rpm/app/serializers/repository.py @@ -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 " @@ -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 "