Avoid warnings for versioned_writes docs
This includes a couple of fixes as follows: - Add one more "-" for mode example titles to adjust the title length (it seems needed to use verbatim expression) - Remove unnecessary back slash Change-Id: If41bba040ea31f2354642b2ec32bc92ece4f0971
This commit is contained in:
parent
dd30b9ef98
commit
ff52bb1b1c
@ -105,9 +105,9 @@ the 'history' mode during a rolling upgrade may result in some requests being
|
|||||||
served by proxies running old code (which necessarily uses the 'stack' mode),
|
served by proxies running old code (which necessarily uses the 'stack' mode),
|
||||||
leading to data loss.
|
leading to data loss.
|
||||||
|
|
||||||
-------------------------------------------
|
--------------------------------------------
|
||||||
Examples Using ``curl`` with ``stack`` Mode
|
Examples Using ``curl`` with ``stack`` Mode
|
||||||
-------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
First, create a container with the ``X-Versions-Location`` header or add the
|
First, create a container with the ``X-Versions-Location`` header or add the
|
||||||
header to an existing container. Also make sure the container referenced by
|
header to an existing container. Also make sure the container referenced by
|
||||||
@ -143,9 +143,9 @@ http://<storage_url>/versions?prefix=008myobject/
|
|||||||
curl -i -XGET -H "X-Auth-Token: <token>" \
|
curl -i -XGET -H "X-Auth-Token: <token>" \
|
||||||
http://<storage_url>/container/myobject
|
http://<storage_url>/container/myobject
|
||||||
|
|
||||||
---------------------------------------------
|
----------------------------------------------
|
||||||
Examples Using ``curl`` with ``history`` Mode
|
Examples Using ``curl`` with ``history`` Mode
|
||||||
---------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
As above, create a container with the ``X-Versions-Location`` header and ensure
|
As above, create a container with the ``X-Versions-Location`` header and ensure
|
||||||
that the container referenced by the ``X-Versions-Location`` exists. In this
|
that the container referenced by the ``X-Versions-Location`` exists. In this
|
||||||
@ -194,7 +194,7 @@ To permanently delete a previous version, ``DELETE`` it from the archive
|
|||||||
container::
|
container::
|
||||||
|
|
||||||
curl -i -XDELETE -H "X-Auth-Token: <token>" \
|
curl -i -XDELETE -H "X-Auth-Token: <token>" \
|
||||||
http://<storage_url>/versions/008myobject/<timestamp> \
|
http://<storage_url>/versions/008myobject/<timestamp>
|
||||||
|
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
How to Disable Object Versioning in a Swift Cluster
|
How to Disable Object Versioning in a Swift Cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user