]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix get image or snap spec in `nbd map` 20529/head
authorsongweibin <song.weibin@zte.com.cn>
Thu, 22 Feb 2018 06:20:08 +0000 (14:20 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 22 Feb 2018 06:32:33 +0000 (14:32 +0800)
commit90892fd94664331b9851eaf28ab37269f118c976
tree1ed0dc62d0a226169f803c64528414ab08aceb66
parent2545f972dfec0532c665d957688ed166eea27019
rbd: fix get image or snap spec in `nbd map`

root@s222:/ceph-dev/build# rbd nbd map img1
rbd: 'nbd map' command is deprecated, use 'device map -t nbd' instead
rbd: image name was not specified
root@s222:/ceph-dev/build# rbd nbd map -p rbd --image img1
rbd: 'nbd map' command is deprecated, use 'device map -t nbd' instead
rbd: image name was not specified

Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/tools/rbd/action/Nbd.cc