Skip to content

Commit

Permalink
Merge pull request pulp#2939 from daviddavis/2550
Browse files Browse the repository at this point in the history
Filtering predistributor results by distributor_id
  • Loading branch information
daviddavis authored Feb 7, 2017
2 parents 3ab7dfd + 8ea6a01 commit 4f575fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/pulp/plugins/rsync/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def __init__(self, repo, publish_conduit, config, distributor_type):
string_date = None
if self.predistributor:
search_params = {'repo_id': repo.id,
'distributor_id': self.predistributor["id"],
'distributor_id': self.predistributor["distributor_id"],
'started': {"$gte": string_date}}
self.predist_history = RepoPublishResult.get_collection().find(search_params)
else:
Expand Down

0 comments on commit 4f575fe

Please sign in to comment.