followup: comment reword
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -34,8 +34,7 @@ sub parse_ceph_config {
|
|||||||
|
|
||||||
if ($line =~ m/^(.*?\S)\s*=\s*(\S.*)$/) {
|
if ($line =~ m/^(.*?\S)\s*=\s*(\S.*)$/) {
|
||||||
my ($key, $val) = ($1, $2);
|
my ($key, $val) = ($1, $2);
|
||||||
# ceph treats ' ', '_' and '-' in keys the same, so we
|
# ceph treats ' ', '_' and '-' in keys the same, so lets do too
|
||||||
# map it to '_' to get a consistent hash
|
|
||||||
$key =~ s/[-\ ]/_/g;
|
$key =~ s/[-\ ]/_/g;
|
||||||
$cfg->{$section}->{$key} = $val;
|
$cfg->{$section}->{$key} = $val;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user