s/ceph_version/local_ceph_version/ for clarity

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-04-25 11:37:26 +02:00
parent d4c31eff96
commit 7435dc9071
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}