]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigMonitor: fix config get key with whitespaces
authorNitzan Mordechai <nmordech@redhat.com>
Wed, 19 Jan 2022 09:36:31 +0000 (03:36 -0600)
committerNitzan Mordechai <nmordech@redhat.com>
Tue, 25 Jan 2022 09:45:50 +0000 (11:45 +0200)
commit94cac0795f64751b9e37d4e025b0c0f41b82fd39
tree4cbff6bfe466a29440545bc253349678d37f0e67
parent186d24bb83095acbf6effa984817b03c542dfb93
mon/ConfigMonitor: fix config get key with whitespaces

Currently, a config-set\get\rm command does not handle keys with blanks.

Here - we normalize the keys, replacing spaces with underscores.

Fixes: https://tracker.ceph.com/issues/44092
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
src/mon/ConfigMonitor.cc