Skip to content

Commit

Permalink
Merge 52d6c94 into fd521fc
Browse files Browse the repository at this point in the history
  • Loading branch information
kersommoura committed May 7, 2019
2 parents fd521fc + 52d6c94 commit c67345f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pulp_smash/pulp3/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ def sync(cfg, remote, repo, **kwargs):
to be synced.
:param repo: A dict of information about the repository.
:param kwargs: Keyword arguments to be merged in to the request data.
:returns: The server's response. Call ``.json()`` on the response to get
a call report.
:returns: The server's response. A dict of information about the just
created sync.
"""
client = api.Client(cfg, api.json_handler)
client = api.Client(cfg)
data = {"repository": repo["_href"]}
data.update(kwargs)
return client.post(urljoin(remote["_href"], "sync/"), data)
Expand Down

0 comments on commit c67345f

Please sign in to comment.