summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 33a38ee7ee6..5b7a38f77e3 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -27,7 +27,7 @@ function volume_option()
}
function rebalance_status_field {
- $CLI volume rebalance $1 status | sed -n '$p' | cut -d' ' -f4
+ $CLI volume rebalance $1 status | awk '{print $6}' | sed -n 3p
}
function remove_brick_status_completed_field {