[pve-devel] [PATCH manager 4/6] ceph: set/unset flag: remove unused variable

Dominik Csapak d.csapak at proxmox.com
Mon Jul 22 16:08:50 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 9cc6234a..ea5cb7f1 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -1015,7 +1015,6 @@ __PACKAGE__->register_method ({
 	die "not fully configured - missing '$pve_ckeyring_path'\n"
 	    if ! -f $pve_ckeyring_path;
 
-	my $set = $param->{set} // !$param->{unset};
 	my $rados = PVE::RADOS->new();
 
 	$rados->mon_command({
@@ -1058,7 +1057,6 @@ __PACKAGE__->register_method ({
 	die "not fully configured - missing '$pve_ckeyring_path'\n"
 	    if ! -f $pve_ckeyring_path;
 
-	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