From 7435dc9071805a88eb6c56005306f7a98aef7f2f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 25 Apr 2020 11:37:26 +0200 Subject: [PATCH] s/ceph_version/local_ceph_version/ for clarity Signed-off-by: Thomas Lamprecht --- PVE/CephConfig.pm | 2 +- PVE/Storage/CephFSPlugin.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2