]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: make --pool/--image args easier to understand for import
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 15 Sep 2012 00:13:57 +0000 (17:13 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 15 Sep 2012 00:17:29 +0000 (17:17 -0700)
commitfd4b294280cc2238289dbd7b37236d8a8cb10160
tree57fdf1ff08e4f62dc2c1329638d98c47e0a54f1f
parentcf6899d859d8018b0489d2701be03c869afcdce3
rbd: make --pool/--image args easier to understand for import

There's no need to set the default pool in set_pool_image_name - this
is done later, in a way that doesn't ignore --pool if --dest-pool
is not specified.

This means --pool and --image can be used with import, just like
the rest of the commands. Without this change, --dest and --dest-pool
had to be used, and --pool would be silently ignored for rbd import.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/rbd.cc