From a2b65d01f5feb68a3bf56399c7815e5f0a73101f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 29 May 2018 11:56:13 +0200 Subject: client: remove the "connecting" state - it's not used The "connecting" state is not used anywhere really. It's only being set and printed. So remove it. Change-Id: I11fc8b0bdcda5a812d065543aa447d39957d3b38 fixes: bz#1583583 Signed-off-by: Michael Adam --- tests/volume.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index ea8cfb666a1..492b08a4d9d 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -139,7 +139,7 @@ function cleanup_mount_statedump { function snap_client_connected_status { local vol=$1 local fpath=$(generate_mount_statedump $vol) - up=$(grep -a -A2 xlator.protocol.client.$vol-snapd-client.priv $fpath | tail -1 | cut -f 2 -d'=') + up=$(grep -a -A1 xlator.protocol.client.$vol-snapd-client.priv $fpath | tail -1 | cut -f 2 -d'=') rm -f $fpath echo "$up" } -- cgit