diff options
author | Vitalii Koriakov <vkoriako@redhat.com> | 2019-02-04 16:06:20 +0200 |
---|---|---|
committer | Vijay Avuthu <vavuthu@redhat.com> | 2019-02-05 05:14:43 +0000 |
commit | ca40a34e46547e1569c5329ee6106ec6c2ee0b57 (patch) | |
tree | ed81cbac20072add5c43eae2e5692c099bdc41f7 /glustolibs-io | |
parent | b6d683414d079058a23925b99345e173b17ef7fd (diff) |
Added ret for io_results
Change-Id: I34af7c73bae3a6ad7b32a2282f2e26da21597949
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
Diffstat (limited to 'glustolibs-io')
-rwxr-xr-x | glustolibs-io/glustolibs/io/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |