]> git.proxmox.com Git - pve-manager.git/commit
fix #4808: ceph: mds create: use snake_case when setting options
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Tue, 5 Sep 2023 08:53:31 +0000 (10:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 Sep 2023 14:57:10 +0000 (16:57 +0200)
commitab70343982f36a5343d3fcf4a1a6489bd3f52a66
tree251801fde4a47fcf236c5c6edf24cca9c09aa8af
parente8ed907b7e3266450750ea6f4125857f3129325c
fix #4808: ceph: mds create: use snake_case when setting options

As suggested in [1], it is recommended to use `_` in all cases when
dealing with config files. Note that this is for creation only, and we
enforce that there cannot be an existing MDS with the same ID, so we
do not have to bother how ceph would handle the case where both exist.

[1] https://docs.ceph.com/en/reef/rados/configuration/ceph-conf/#option-names

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Ceph/MDS.pm