mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
Merge pull request #36518 from yongseokoh/fix-dashboard
mgr/dashboard: Fix missing root path of each session for CephFS Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com> Reviewed-by: Volker Theile <vtheile@suse.com>
This commit is contained in:
commit
27c32caa19
@ -303,10 +303,12 @@ class CephFS(RESTController):
|
||||
client['type'] = "userspace"
|
||||
client['version'] = client['client_metadata']['ceph_version']
|
||||
client['hostname'] = client['client_metadata']['hostname']
|
||||
client['root'] = client['client_metadata']['root']
|
||||
elif "kernel_version" in client['client_metadata']: # pragma: no cover - no complexity
|
||||
client['type'] = "kernel"
|
||||
client['version'] = client['client_metadata']['kernel_version']
|
||||
client['hostname'] = client['client_metadata']['hostname']
|
||||
client['root'] = client['client_metadata']['root']
|
||||
else: # pragma: no cover - no complexity there
|
||||
client['type'] = "unknown"
|
||||
client['version'] = ""
|
||||
|
Loading…
Reference in New Issue
Block a user