]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: disable cluster selection in NFS export editing form 37969/head
authorKiefer Chang <kiefer.chang@suse.com>
Wed, 4 Nov 2020 03:00:21 +0000 (11:00 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Wed, 9 Dec 2020 08:43:24 +0000 (16:43 +0800)
commit32e3c273a8857f95d737c3a5af26051bf74275fa
tree0c0e0d03c4d2357bd7fe6724c22377a7037c591f
parent08106742f6aca9a087a056f2f7b2560ac0cc849b
mgr/dashboard: disable cluster selection in NFS export editing form

We should not allow changing an export's cluster because an export ID
might live in one cluster but not in another one. Editing a non-existing
export in a cluster causes an error.

Fixes: https://tracker.ceph.com/issues/47373
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit d678d8076c2a4c5edfe489d553e3c8770462f023)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.spec.ts
        - Unnecessary spies for SummaryService are removed in the master.
        - The LoadingPanelComponent is new in the master.
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts