From 4de6aa51df0822f1abee5b74d4a6a1cdb9e74d07 Mon Sep 17 00:00:00 2001 From: Nur Faizin Date: Mon, 13 May 2019 10:42:25 +0700 Subject: [PATCH] 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 --- src/pybind/mgr/dashboard/controllers/nfsganesha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.47.3