From ca40a34e46547e1569c5329ee6106ec6c2ee0b57 Mon Sep 17 00:00:00 2001 From: Vitalii Koriakov Date: Mon, 4 Feb 2019 16:06:20 +0200 Subject: Added ret for io_results Change-Id: I34af7c73bae3a6ad7b32a2282f2e26da21597949 Signed-off-by: Vitalii Koriakov --- glustolibs-io/glustolibs/io/utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glustolibs-io') diff --git a/glustolibs-io/glustolibs/io/utils.py b/glustolibs-io/glustolibs/io/utils.py index b6e1f627c..d6cfe6202 100755 --- a/glustolibs-io/glustolibs/io/utils.py +++ b/glustolibs-io/glustolibs/io/utils.py @@ -629,6 +629,7 @@ def is_io_procs_fail_with_rofs(self, all_mounts_procs, mounts): g.log.error("IO Successful on Read-only file system %s:%s", self.mounts[i].client_system, self.mounts[i].mountpoint) + io_results[proc] = False ret = all(io_results.values()) return ret, io_results @@ -693,6 +694,7 @@ def is_io_procs_fail_with_error(self, all_mounts_procs, mounts, mount_type): g.log.error("IO Successful on not connected mountpoint %s:%s", self.mounts[i].client_system, self.mounts[i].mountpoint) + io_results[proc] = False ret = all(io_results.values()) return ret, io_results -- cgit