.subscribe((resp: any) => {
// Disabled these fields since its not editable
this.subvolumegroupForm.get('subvolumegroupName').disable();
- this.subvolumegroupForm.get('pool').disable();
- this.subvolumegroupForm.get('uid').disable();
- this.subvolumegroupForm.get('gid').disable();
this.subvolumegroupForm.get('subvolumegroupName').setValue(this.subvolumegroupName);
if (resp.bytes_quota !== 'infinite') {
task: new FinishedTask('cephfs/subvolume/group/' + URLVerbs.EDIT, {
subvolumegroupName: subvolumegroupName
}),
- call: this.cephfsSubvolumeGroupService.update(
+ call: this.cephfsSubvolumeGroupService.create(
this.fsName,
subvolumegroupName,
- String(editSize)
+ pool,
+ String(editSize),
+ uid,
+ gid,
+ mode
)
})
.subscribe({