[pve-devel] [PATCH manager v2 3/5] ceph: set/unset flag: remove unused variable

Dominik Csapak d.csapak at proxmox.com
Tue Jul 23 09:52:27 CEST 2019


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Ceph.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
index 862da4a1..c146add6 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -990,7 +990,6 @@ __PACKAGE__->register_method ({
 
 	PVE::Ceph::Tools::check_ceph_configured();
 
-	my $set = $param->{set} // !$param->{unset};
 	my $rados = PVE::RADOS->new();
 
 	$rados->mon_command({
@@ -1028,7 +1027,6 @@ __PACKAGE__->register_method ({
 
 	PVE::Ceph::Tools::check_ceph_configured();
 
-	my $set = $param->{set} // !$param->{unset};
 	my $rados = PVE::RADOS->new();
 
 	$rados->mon_command({
-- 
2.20.1





More information about the pve-devel mailing list