]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rados: provide user with more meaningful error message
authorMykola Golub <mgolub@suse.com>
Tue, 5 Feb 2019 10:39:53 +0000 (10:39 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 5 Feb 2019 10:39:53 +0000 (10:39 +0000)
commitbf9a07bf12407ca3e1daebd92107d6aaa1db4915
tree92189b70d8eedf96404ea79059cdf996e9a91330
parente883e7398b37b30fbb489ba3ddd1391dd3f404cb
rados: provide user with more meaningful error message

when trying to mksnap on a pool in the selfmanaged snaps mode.

Previously the error message in this case was:

  error creating pool XYZ snapshot ABC: (22) Invalid argument

which was highly uninformative.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/tools/rados/rados.cc