[pve-devel] [PATCH manager 1/3] ceph: remove unused variable assignment

Alwin Antreich a.antreich at proxmox.com
Wed Mar 11 16:22:35 CET 2020


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 PVE/Ceph/Services.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/Ceph/Services.pm b/PVE/Ceph/Services.pm
index c17008cf..7015cafe 100644
--- a/PVE/Ceph/Services.pm
+++ b/PVE/Ceph/Services.pm
@@ -63,7 +63,6 @@ sub get_cluster_service {
 sub ceph_service_cmd {
     my ($action, $service) = @_;
 
-    my $pve_ceph_cfgpath = PVE::Ceph::Tools::get_config('pve_ceph_cfgpath');
     if ($service && $service =~ m/^(mon|osd|mds|mgr|radosgw)(\.(${\SERVICE_REGEX}))?$/) {
 	$service = defined($3) ? "ceph-$1\@$3" : "ceph-$1.target";
     } else {
-- 
2.20.1





More information about the pve-devel mailing list