]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: return 0 and an empty list when pool is entirely empty 1028/head
authorJosh Durgin <josh.durgin@inktank.com>
Wed, 1 Jan 2014 01:00:06 +0000 (17:00 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Wed, 1 Jan 2014 01:02:28 +0000 (17:02 -0800)
commitac547a5b7dc94282f079aef78e66348d99d9d5e9
treea121e5a62a275004770effc9f92bb5acb7a05f0d
parent7d27793f4f2223a9866c36bd09b29e8efabe5b8a
rbd: return 0 and an empty list when pool is entirely empty

rbd_list will return -ENOENT when no rbd_directory object
exists. Handle this in the cli tool and interpret it as success with
an empty list.

Add this to the release notes since it changes command line behavior.

Fixes: #6693
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
PendingReleaseNotes
src/rbd.cc
src/test/cli-integration/rbd/formatted-output.t