From f79acf69e705e35f0eac8b1b3f4fa77a129c5514 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Jochum?= Date: Mon, 4 Jun 2018 16:49:05 +0200 Subject: [PATCH 1/1] Implement remote remove MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: René Jochum --- PVE/APIClient/Commands/remote.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/APIClient/Commands/remote.pm b/PVE/APIClient/Commands/remote.pm index 080934f..c9e0e62 100644 --- a/PVE/APIClient/Commands/remote.pm +++ b/PVE/APIClient/Commands/remote.pm @@ -130,8 +130,11 @@ __PACKAGE__->register_method ({ code => sub { my ($param) = @_; - die "implement me"; + my $config = PVE::APIClient::Config->new(); + $config->remove_remote($param->{name}); + $config->save; + return undef; }}); our $cmddef = { -- 2.39.2