From: Nur Faizin Date: Mon, 13 May 2019 03:42:25 +0000 (+0700) Subject: mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS X-Git-Tag: v15.1.0~2652^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28075%2Fhead;p=ceph.git mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS This change fixes error on NFS Ganesha management dashboard that throws an error when request daemon list. Fixes: https://tracker.ceph.com/issues/39709 Signed-off-by: Nur Faizin --- diff --git a/src/pybind/mgr/dashboard/controllers/nfsganesha.py b/src/pybind/mgr/dashboard/controllers/nfsganesha.py index 8b708da2aa29..259910550faa 100644 --- a/src/pybind/mgr/dashboard/controllers/nfsganesha.py +++ b/src/pybind/mgr/dashboard/controllers/nfsganesha.py @@ -254,8 +254,8 @@ class NFSGaneshaService(RESTController): 'status': status_dict[cluster_id][daemon_id]['status'], 'desc': status_dict[cluster_id][daemon_id]['desc'] } - for daemon_id in status_dict[cluster_id] for cluster_id in status_dict + for daemon_id in status_dict[cluster_id] ] result = []