diff --git a/PVE/CephConfig.pm b/PVE/CephConfig.pm index 1e95a90..0a75337 100644 --- a/PVE/CephConfig.pm +++ b/PVE/CephConfig.pm @@ -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; diff --git a/PVE/Storage/CephFSPlugin.pm b/PVE/Storage/CephFSPlugin.pm index 3f44cfe..6575f4f 100644 --- a/PVE/Storage/CephFSPlugin.pm +++ b/PVE/Storage/CephFSPlugin.pm @@ -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; }