Skip to content

Commit

Permalink
Replace RepositorySyncURL w/ RpmRepositorySyncURL
Browse files Browse the repository at this point in the history
  • Loading branch information
fao89 committed Feb 20, 2020
1 parent ffade45 commit e20e9c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES/6204.bugfix
@@ -0,0 +1 @@
Replace RepositorySyncURL with RpmRepositorySyncURL
2 changes: 1 addition & 1 deletion docs/_static/api.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pulp_rpm/tests/performance/test_pulp_to_pulp.py
Expand Up @@ -28,7 +28,7 @@
DistributionsRpmApi,
PublicationsRpmApi,
RepositoriesRpmApi,
RepositorySyncURL,
RpmRepositorySyncURL,
RemotesRpmApi,
RpmRpmPublication,
)
Expand Down Expand Up @@ -72,7 +72,7 @@ def do_test(self, url, policy="on_demand"):
self.addCleanup(remote_api.delete, remote.pulp_href)

# Sync a Repository
repository_sync_data = RepositorySyncURL(remote=remote.pulp_href)
repository_sync_data = RpmRepositorySyncURL(remote=remote.pulp_href)
sync_response = repo_api.sync(repo.pulp_href, repository_sync_data)
monitor_task(sync_response.task)
sync_task = tasks.read(sync_response.task)
Expand Down Expand Up @@ -108,7 +108,7 @@ def do_test(self, url, policy="on_demand"):
self.addCleanup(remote_api.delete, remote2.pulp_href)

# Sync a Repository
repository_sync_data = RepositorySyncURL(remote=remote2.pulp_href)
repository_sync_data = RpmRepositorySyncURL(remote=remote2.pulp_href)
sync_response = repo_api.sync(repo2.pulp_href, repository_sync_data)
monitor_task(sync_response.task)
sync_task = tasks.read(sync_response.task)
Expand Down

0 comments on commit e20e9c1

Please sign in to comment.