]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS 28075/head
authorNur Faizin <nur.faizin91@gmail.com>
Mon, 13 May 2019 03:42:25 +0000 (10:42 +0700)
committerNur Faizin <nur.faizin91@gmail.com>
Thu, 16 May 2019 02:08:17 +0000 (09:08 +0700)
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 <nur.faizin91@gmail.com>
src/pybind/mgr/dashboard/controllers/nfsganesha.py

index 8b708da2aa297c1ce8e6a3b377b20cb11802b0b7..259910550faa84e0b5c42466e14cc88ce0e26873 100644 (file)
@@ -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 = []