]> git.proxmox.com Git - pve-storage.git/commit
CephConfig: map special config key characters to _
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 19 Jun 2019 07:17:52 +0000 (09:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Jun 2019 08:21:42 +0000 (10:21 +0200)
commit9841fa31b584d323d5389685e39d650433139450
tree09d82e721fa3be5211671962df828a201ba2bf10
parentde0cd0c2e09283c775459ca99017f31b5e23a80e
CephConfig: map special config key characters to _

we want a consistent config has, regardless of how the user or a tool
adds it to the config, so we map ' ' and '-' to '_' in the keys

this way we can always access the correct key without trying multiple
times

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