Skip to content

Commit

Permalink
Update versioned_writes doc
Browse files Browse the repository at this point in the history
Change-Id: Ibe53c79cf49330332112001c02a2a6b078764130
  • Loading branch information
MahatiC committed Dec 11, 2015
1 parent 6742c3a commit 19c7dbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion swift/common/middleware/versioned_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@
http://<storage_url>/versions?prefix=008myobject/
Now delete the current version of the object and see that the older version is
gone::
gone from 'versions' container and back in 'container' container::
curl -i -XDELETE -H "X-Auth-Token: <token>" \
http://<storage_url>/container/myobject
curl -i -H "X-Auth-Token: <token>" \
http://<storage_url>/versions?prefix=008myobject/
curl -i -XGET -H "X-Auth-Token: <token>" \
http://<storage_url>/container/myobject
---------------------------------------------------
How to Disable Object Versioning in a Swift Cluster
Expand Down

0 comments on commit 19c7dbc

Please sign in to comment.