]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix NFS squash default value 27294/head
authorTiago Melo <tmelo@suse.com>
Mon, 1 Apr 2019 14:50:44 +0000 (14:50 +0000)
committerTiago Melo <tmelo@suse.com>
Mon, 1 Apr 2019 14:50:44 +0000 (14:50 +0000)
Fixes: http://tracker.ceph.com/issues/39064
Signed-off-by: Tiago Melo <tmelo@suse.com>
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 1e3715c733b54c56997da8e3f13be11dd22321ad..0b1f4e92a9ee4232971b2ff633b191b397735ee5 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, {