]> git.proxmox.com Git - pve-storage.git/commitdiff
s/ceph_version/local_ceph_version/ for clarity
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 25 Apr 2020 09:37:26 +0000 (11:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 25 Apr 2020 09:37:26 +0000 (11:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CephConfig.pm
PVE/Storage/CephFSPlugin.pm

index 1e95a90135ae2fced246392ff858ea3b24988add..0a75337bfdb2632030f8f4cea40deac18f2d561d 100644 (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;
index 3f44cfe82d49a3af47b6b742527aa6434c379da3..6575f4f81ab28234bdecc97877f74eda9696aa93 100644 (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;
     }