mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
Merge pull request #27350 from tspmelo/wip-fix-nfs-transport
mgr/dashboard: Fix deletion of NFS transports properties Reviewed-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
commit
6c8fb920cb
@ -524,13 +524,13 @@ export class NfsFormComponent implements OnInit {
|
||||
|
||||
requestModel.transports = [];
|
||||
if (requestModel.transportTCP) {
|
||||
delete requestModel.transportTCP;
|
||||
requestModel.transports.push('TCP');
|
||||
}
|
||||
delete requestModel.transportTCP;
|
||||
if (requestModel.transportUDP) {
|
||||
delete requestModel.transportUDP;
|
||||
requestModel.transports.push('UDP');
|
||||
}
|
||||
delete requestModel.transportUDP;
|
||||
|
||||
requestModel.clients.forEach((client) => {
|
||||
if (_.isString(client.addresses)) {
|
||||
|
Loading…
Reference in New Issue
Block a user