summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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