]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix NFS squash default value 27371/head
authorTiago Melo <tmelo@suse.com>
Mon, 1 Apr 2019 14:50:44 +0000 (14:50 +0000)
committerTatjana Dehler <tdehler@suse.com>
Thu, 4 Apr 2019 10:12:49 +0000 (12:12 +0200)
Fixes: http://tracker.ceph.com/issues/39064
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 0084299273bd3702b55038d02523a7ad3a1f49cc)

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

index b5bf6a779b0e2ba4f4703c15b3b04e3e06ce86cb..60024884acb718fc57acf6cdc1d6931fd8a99bdc 100644 (file)
@@ -100,7 +100,7 @@ describe('NfsFormComponent', () => {
       pseudo: '',
       sec_label_xattr: 'security.selinux',
       security_label: false,
-      squash: 'None',
+      squash: '',
       tag: '',
       transportTCP: true,
       transportUDP: true
index 128782fc961100c7b043cb3f4f98b1914296dd18..cbf35190027e79bf41cf037f1d9dbb40ec41f200 100644 (file)
@@ -174,7 +174,7 @@ export class NfsFormComponent implements OnInit {
       access_type: new FormControl('RW', {
         validators: [Validators.required]
       }),
-      squash: new FormControl('None', {
+      squash: new FormControl('', {
         validators: [Validators.required]
       }),
       transportUDP: new FormControl(true, {