]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: use check_status for task success
authorJoe Buck <jbbuck@gmail.com>
Wed, 21 Aug 2013 19:18:31 +0000 (12:18 -0700)
committerJoe Buck <jbbuck@gmail.com>
Wed, 21 Aug 2013 19:38:53 +0000 (12:38 -0700)
commit520a9384c586385e0ec303cfc8e023fbb4f8faf1
tree60299a2f18c8c63c444c36689303789541b2a6a5
parentff2a209f8d05fd018c0c6709ea70ed5fb1360435
radosgw-admin: use check_status for task success

Alter the code to use the 'check_status=True'
option in rgwadmin() rather than following the
call with 'assert not err'. Should make the
tests a bit more clear and result in a more
useful error (throw the call stack rather than
just 'assert new err failed').

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/radosgw-admin.py