summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-01-26 13:46:12 -0800
committerSage Weil <sage@inktank.com>2013-01-26 13:46:12 -0800
commit1ba4c80bcf950d9c7a69afd75c6a5f918842877e (patch)
tree6c79e25067bdf96776bbadc6dcd3d48c8f13f378
parentbbb86ec79409bc906c08c896e855d2a7b556fb9f (diff)
downloadceph-1ba4c80bcf950d9c7a69afd75c6a5f918842877e.tar.gz
qa/workunits/rbd/copy.sh: use non-deprecated --image-format option
--format is deprecated. Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-xqa/workunits/rbd/copy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/workunits/rbd/copy.sh b/qa/workunits/rbd/copy.sh
index e2465fa3c45..a3334c073d6 100755
--- a/qa/workunits/rbd/copy.sh
+++ b/qa/workunits/rbd/copy.sh
@@ -145,7 +145,7 @@ test_ls() {
done
for i in $(seq -w 00 99); do
- rbd create image.$i --format 2 -s 1
+ rbd create image.$i --image-format 2 -s 1
done
rbd ls | wc -l | grep 100
rbd ls -l | grep image | wc -l | grep 100
@@ -322,7 +322,7 @@ test_remove
RBD_CREATE_ARGS=""
test_others
test_locking
-RBD_CREATE_ARGS="--format 2"
+RBD_CREATE_ARGS="--image-format 2"
test_others
test_locking
test_clone