Skip to content

Commit

Permalink
Rename cache_only to streamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bouterse committed Dec 12, 2018
1 parent 97f70f9 commit 4c5ca67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Create a repository ``foo``
Create a new remote ``bar``
---------------------------

``$ http POST http://localhost:8000/pulp/api/v3/remotes/file/ name='bar' url='https://repos.fedorapeople.org/pulp/pulp/demo_repos/test_file_repo/PULP_MANIFEST' policy='cache_only'``
``$ http POST http://localhost:8000/pulp/api/v3/remotes/file/ name='bar' url='https://repos.fedorapeople.org/pulp/pulp/demo_repos/test_file_repo/PULP_MANIFEST' policy='streamed'``

.. code:: json
Expand Down
2 changes: 1 addition & 1 deletion pulp_file/tests/functional/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
CONTENT_PATH
)

DOWNLOAD_POLICIES = ['cache_only', 'immediate', 'on_demand']
DOWNLOAD_POLICIES = ['streamed', 'immediate', 'on_demand']
"""Allowed download policies. Defaults to immediate."""

FILE_CONTENT_PATH = urljoin(CONTENT_PATH, 'file/files/')
Expand Down

0 comments on commit 4c5ca67

Please sign in to comment.