X-Git-Url: https://git.proxmox.com/?p=pve-storage.git;a=blobdiff_plain;f=PVE%2FCephConfig.pm;h=aad2701be04aaf9b9f8b8d9c01a7f7769ed35e40;hp=b420fcc3ca83cb61e4d58cf772595f561f502a57;hb=187df8553edd30b4a6a5cdc2da0cb3e3add34ea2;hpb=5b5534a9d726972fad0186d1bdc1519cd90b5f2e diff --git a/PVE/CephConfig.pm b/PVE/CephConfig.pm index b420fcc..aad2701 100644 --- a/PVE/CephConfig.pm +++ b/PVE/CephConfig.pm @@ -107,7 +107,7 @@ sub get_monaddr_list { } my $config = $parse_ceph_file->($configfile); - @$server = sort map { $config->{$_}->{'mon addr'} } grep {/mon/} %{$config}; + @$server = sort map { $config->{$_}->{'mon addr'} } grep {/mon\./} %{$config}; return join(',', @$server); };