]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: error out if dest_snapname is specified
authorIlya Dryomov <idryomov@gmail.com>
Tue, 21 Jul 2015 14:55:55 +0000 (17:55 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jul 2015 09:22:04 +0000 (12:22 +0300)
commitb60e144cebc9f5f1916adbb7e43f67af4988699f
treebdfcd7a42a8c825a0f0ba98ea1758ff1d58fb0a3
parentbbc5c71284f978b41e64f8703c4288d04cff0d82
rbd: error out if dest_snapname is specified

No command uses it as of now, but only clone command fails; cp, mv and
import simply ignore it.  Check if it's set and exit with a generic
error message.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/rbd.cc
src/test/cli/rbd/invalid-snap-usage.t
src/test/cli/rbd/not-enough-args.t