Fix swift-object-info to show policy index at deep working directory
If swift-object-info command is executed at deeper working directory
than 'objects-*' directory, it cannot parse policy index from file path
so it does not show appropriate policy index. This patch fixes this
problem by simply extracting the full path of a target object file.
Reviewed: https:/ /review. openstack. org/205344 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=3d9b2d077a1 57279fb6cd107a0 c83727106af3ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3d9b2d077a15727 9fb6cd107a0c837 27106af3ef
Author: Daisuke Morita <email address hidden>
Date: Fri Jul 24 10:42:10 2015 +0900
Fix swift-object-info to show policy index at deep working directory
If swift-object-info command is executed at deeper working directory
than 'objects-*' directory, it cannot parse policy index from file path
so it does not show appropriate policy index. This patch fixes this
problem by simply extracting the full path of a target object file.
Change-Id: Idb734106a44b61 21119c9b1dc8cda af4c6c28c31
Closes-Bug: 1469951