]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_objectstore_tool: encapsulate into a function
authorLoic Dachary <ldachary@redhat.com>
Wed, 19 Nov 2014 12:44:38 +0000 (13:44 +0100)
committerDavid Zafman <dzafman@redhat.com>
Wed, 4 Mar 2015 00:03:59 +0000 (16:03 -0800)
commit4b94fa22af65f07b7c71eacd30fbfe5cf296cf2c
tree5b92ab21882133c7f47a486dff4fdff01182ec62
parentcbe48da3ade49f65e0482b70f054850357271182
ceph_objectstore_tool: encapsulate into a function

Move code out of the task into function. Also remove the "REP" specifics
from helper functions that could also be used for erasure coded pools.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit c9e6edebd95377f7dec2a34f390f250c0e1a026d)
tasks/ceph_objectstore_tool.py