]> git.proxmox.com Git - pve-manager.git/commitdiff
api: cephfs: add 'fs-name' for cephfs storage
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 25 Oct 2021 14:01:35 +0000 (16:01 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 16:52:08 +0000 (17:52 +0100)
so that we can uniquely identify the cephfs (in case of multiple)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Ceph/FS.pm

index 9b2a8d709e3fd4f721999ddf144d391263b1c564..8e740115ec2acf964ff547005bf10350ed527ec8 100644 (file)
@@ -202,6 +202,7 @@ __PACKAGE__->register_method ({
                        type => 'cephfs',
                        storage => $fs_name,
                        content => 'backup,iso,vztmpl',
+                       'fs-name' => $fs_name,
                    })
                };
                die "adding storage for CephFS '$fs_name' failed, check log ".