mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-23 17:34:34 +03:00
cephcfg sort keys in write_ceph_config
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9a80a3eae0
commit
e38418266f
@ -65,7 +65,7 @@ sub write_ceph_config {
|
||||
my $cond_write_sec = sub {
|
||||
my $re = shift;
|
||||
|
||||
foreach my $section (keys %$cfg) {
|
||||
foreach my $section (sort keys %$cfg) {
|
||||
next if $section !~ m/^$re$/;
|
||||
$out .= "[$section]\n";
|
||||
foreach my $key (sort keys %{$cfg->{$section}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user