s/ceph_version/local_ceph_version/ for clarity
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -267,7 +267,7 @@ my $ceph_version_parser = sub {
|
||||
warn "Could not parse Ceph version: '$ceph_version'\n";
|
||||
};
|
||||
|
||||
sub ceph_version {
|
||||
sub local_ceph_version {
|
||||
my ($cache) = @_;
|
||||
|
||||
my $version_string = $cache;
|
||||
|
||||
@ -100,7 +100,7 @@ sub cephfs_mount {
|
||||
push @opts, "secretfile=$secretfile" if defined($secretfile);
|
||||
|
||||
# FIXME: remove version check in PVE 7.0, only needed for Luminous -> Nautilus
|
||||
my ($subversions) = PVE::CephConfig::ceph_version();
|
||||
my ($subversions) = PVE::CephConfig::local_ceph_version();
|
||||
push @opts, "conf=$configfile" if defined($configfile) && @$subversions[0] > 12;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user