all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] fix #4808: ceph: use setting names with underscores
@ 2023-09-05  8:53 Maximiliano Sandoval
  2023-09-06 14:57 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 4+ messages in thread
From: Maximiliano Sandoval @ 2023-09-05  8:53 UTC (permalink / raw)
  To: pve-devel

As suggested in [1], it is recommended to use `_` in all cases when
dealing with config files.

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

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 PVE/API2/Ceph/MDS.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/API2/Ceph/MDS.pm b/PVE/API2/Ceph/MDS.pm
index 1cb0b74f..6fc0ae45 100644
--- a/PVE/API2/Ceph/MDS.pm
+++ b/PVE/API2/Ceph/MDS.pm
@@ -153,10 +153,10 @@ __PACKAGE__->register_method ({
 	    }
 
 	    $cfg->{$section}->{host} = $nodename;
-	    $cfg->{$section}->{"mds standby for name"} = 'pve';
+	    $cfg->{$section}->{'mds_standby_for_name'} = 'pve';
 
 	    if ($param->{hotstandby}) {
-		$cfg->{$section}->{"mds standby replay"} = 'true';
+		$cfg->{$section}->{'mds_standby_replay'} = 'true';
 	    }
 
 	    cfs_write_file('ceph.conf', $cfg);
-- 
2.39.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-07  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05  8:53 [pve-devel] [PATCH manager] fix #4808: ceph: use setting names with underscores Maximiliano Sandoval
2023-09-06 14:57 ` [pve-devel] applied: " Thomas Lamprecht
2023-09-07  9:07   ` Maximiliano Sandoval
2023-09-07  9:30     ` Maximiliano Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal