Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
warn "Could not parse Ceph version: '$ceph_version'\n";
};
-sub ceph_version {
+sub local_ceph_version {
my ($cache) = @_;
my $version_string = $cache;
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;
}