diff --git a/pulpcore/app/replica.py b/pulpcore/app/replica.py index 6eb55fa3c0..7d7f46a2f7 100644 --- a/pulpcore/app/replica.py +++ b/pulpcore/app/replica.py @@ -107,7 +107,7 @@ def labels(self, upstream_object): def url(self, upstream_distribution): return upstream_distribution["base_url"] - def remote_extra_fields(self, upstream_distribution): + def remote_extra_fields(self, upstream_distribution, **kwargs): return {} def create_or_update_remote(self, upstream_distribution): @@ -148,7 +148,7 @@ def create_or_update_remote(self, upstream_distribution): return remote - def repository_extra_fields(self, remote): + def repository_extra_fields(self, remote, **kwargs): return {} def create_or_update_repository(self, remote): @@ -175,7 +175,7 @@ def create_or_update_repository(self, remote): repository.save() return repository - def distribution_extra_fields(self, repository, upstream_distribution): + def distribution_extra_fields(self, repository, upstream_distribution, **kwargs): """ Return the fields that need to be updated/cleared on distributions for idempotence.