From 92e5b7b15b9203a711db39e07214f9f566179791 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 11 Feb 2020 13:37:53 -0800 Subject: [PATCH] qa: fix nested generator use Apparently Python doesn't allow nested generator calls. Hurray. Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/filesystem.py b/qa/tasks/cephfs/filesystem.py index 02c07a42e07a7..be802a4ffe11c 100644 --- a/qa/tasks/cephfs/filesystem.py +++ b/qa/tasks/cephfs/filesystem.py @@ -86,7 +86,7 @@ class FSStatus(object): """ Iterator for all the mds_info components in the FSMap. """ - for info in self.get_standbys(): + for info in self.map['standbys']: yield info for fs in self.map['filesystems']: for info in fs['mdsmap']['info'].values(): -- 2.39.5